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

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 6.0 (Yes) 7.0 (7.0) 9.0 15.0 8
Feature Android Android Webview Edge Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile Chrome for Android
Basic support (Yes) (Yes) (Yes) 7.0 (7.0) 9.0 15.0 9 (Yes)