MDN self-hosted library · e01.org

Window: performance property

Performance API

no runnable cells web-api-instance-property upstream source

Performance API

The performance read-only property of the Window interface returns a Performance object, which can be used to gather performance information about code running in the window's scope.

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 about code running in the window's scope.

Specifications

Browser compatibility

See also

  • WorkerGlobalScope.performance