Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

performance property

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

Syntax

JavaScript

p = object.performance

Property values

Type: Object

A reference to the performance object.

Standards information

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