Chapter 10
- The execution of a web app involves three tasks
- Fetch resources
- page layout and rendering
- Javascript execution
The rendering and scripting steps are symmetric, it is not possible to run them concurrently.
The Navigation Timing API is included in most modern web browsers. It can be used for a wholistic view of page load timing. It includes DNS and TCP connect times with high precision. The Resource Timing API is also included with most modern browsers can can be used to view the performance profile of a page. The User Timing API provides a simple JavaScript API to mark and measure application-specific performance metrics with the help of high-resolution timers.