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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
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
Window.performance by Mozilla Contributors is licensed under CC-BY-SA 2.5.