Measuring and optimizing the client-side performance is essential for a seamless user experience, and this is critical for Web 2.0 applications using AJAX.
Capturing vital information, such as the time taken for page load, rendering of the elements, and the JavaScript code execution, will help in identifying the areas where performance is slow and optimizes the overall client-side performance.
Navigation Timing is a W3C-Standard JavaScript API to measure performance on the web. The API provides a simple way to get accurate and detailed timing statistics natively for page navigation and load events. It is available on Internet Explorer 9, Google Chrome, Firefox, and WebKit-based browsers.
The API is accessed ...