Chapter 15
Measuring Performance
Examples
Recipe 15.1
Measuring Page Load Performance
Use the Navigation Timing API to get insights on the page load.
Recipe 15.2
Measuring Resource Performance
Use the Resource Timing API to get statistics on loading page resources.
Recipe 15.3
Finding the Slowest Resources
Use the Resource Timing API to find which resources took the longest to load.
Recipe 15.4
Finding Timings for a Specific Resource
Use the Resource Timing API to find resource timings for a specific resource URL.
Recipe 15.5
Profiling Rendering Performance
Use the User Timing API to record the time taken to render a UI component.
Recipe 15.6
Listening for Performance Entries
Use PerformanceObserver to listen for new performance entries.