The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.
performance.mark()DOMHighResTimeStamp to a specified name representing the amount of milliseconds elapsed since a reference instant.performance.now()DOMHighResTimeStamp representing the amount of milliseconds elapsed since a reference instant.performance.timingPerformanceTiming object containing latency-related performance information.performance.navigationPerformanceNavigation object representing the type of navigation that occurs in the given browsing context, like the amount of redirections needed to fetch the resource.
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/window/performance