Web/API/Window/performance

From Get docs


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 TimeThe definition of 'window.performance' in that specification. Recommendation Defines now() method.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
performance Chrome

Full support 6

Edge

Full support 12

Firefox

Full support 7

IE

Full support 9

Opera

Full support 15

Safari

Full support 8

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support 7

Opera Android

Full support 14

Safari iOS

Full support 9

Samsung Internet Android

Full support Yes

Legend

Full support  
Full support