Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides access to timing related information regarding navigation and performance for the document that is loaded into the window object.
![]() |
Syntax
HRESULT value = object.get_performance(any** p);
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