window.performance

Description

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.

Hierarchy

Remarks

If the Web Performance API is not supported by the browser, the jStage polyfills will implement it as a simple object.

Function List

Function Documentation

now()

Polyfill to account for browsers that do not support the Web Performance API.

Returns

The current system time as a high-resolution timer, or Date.getTime() if a fallback was used.

Remarks

More information: A better timer for JavaScript