Window.performance

The Window interface's performance property returns a Performance object, which can be used to gather performance information about the current document. It serves as the point of exposure for the Performance Timeline API, the High Resolution Time API, the Navigation Timing API, the User Timing API, and the Resource Timing API.

Syntax

performanceData = window.performance;

Value

A Performance object offering access to the performance and timing-related information offered by the APIs it exposes.

Specifications

Specification Status Comment
High Resolution Time
The definition of 'window.performance' in that specification.
Recommendation Defines now() method.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
performanceChrome Full support 6Edge Full support 12Firefox Full support 7IE Full support 9Opera Full support 15Safari Full support 8WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 7Opera Android Full support 14Safari iOS Full support 9Samsung Internet Android Full support Yes

Legend

Full support  
Full support