performance property
Provides access to timing related information regarding navigation and performance for the document that is loaded into the window object.
![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Object
A reference to the performance object.
Standards information
- Navigation Timing, Section 4.4
Remarks
Windows Internet Explorer 9 and later. The performance object is supported only for documents displayed in standards mode.
Examples
The following example shows how to use feature detection to obtain a reference to the performance object when it is supported by the browser viewing the webpage.
if (!window.performance) { // performance is not supported. } else { var obj = window.performance }
See also
Show:
