JavaScript Performance API's example

Learn more

This is a very basic example of how to collect performance data on page load times. Read the full article on how to measure performance with JavaScript on mobile
In my article you will also find references to other useful resources about performance measurement for the Web.

The Navigation Timing API shows the time to load the entire page including resources, so I added this image as an example. You can ignore it.