W3cubDocs

/Web APIs

performance global property

The global performance property returns a Performance object, which can be used to gather performance information about the context it is called in (window or worker).

Performance entries are per context. If you create a mark on the main thread (or other worker), you cannot see it in a worker thread, and vice versa.

Value

A Performance object offering access to performance and timing-related information for the context it is called on (window or worker).

Performance API availability

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
performance_property 6 12 7 9 15 8 ≤37 18 7 14 9 1.0
worker_support 30 14 34 No 17 11 4.4 30 34 18 11 2.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/performance_property