performance property

Provides access to timing related information regarding navigation and performance for the document that is loaded into the window object.

Internet Explorer 9

 

Syntax

JavaScript

p = object.performance

 

Property values

Type: Object

A reference to the performance object.

Standards information

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

window
now
performanceNavigation
performanceTiming

 

 

Show:
© 2014 Microsoft