This topic has not yet been rated - Rate this topic

performanceTiming Object

New for Windows Internet Explorer 9

Collects time measurements that are recorded while a webpage is loaded and presented to the user.

Members Table

The following table lists the members exposed by the performanceTiming object.

Attributes/Properties

Property Description
connectEnd Gets the time when a connection was established for the document that is loaded by the window object.
connectStart Gets the time when a connection was requested for the document that is loaded by the window object.
domainLookupEnd Gets the time when the domain name request was completed for the document that is loaded by the window object.
domainLookupStart Gets the time when the domain name request was started for the document that is loaded by the window object.
domComplete Gets a value that represents the time when the Document Object Model (DOM) is initialized for the document that is loaded by the window object.
domContentLoadedEventEnd Gets the time when the DOM content finished loading into the document that is loaded by the window object.
domContentLoadedEventStart Gets the time when the DOM content began to load into the document that is loaded by the window object.
domInteractive Gets the time when the DOM begins to process user events for the document that is loaded by the window object.
domLoading Gets the time when the DOM begins to load for the document that is loaded by the window object.
fetchStart Gets the time when the document loaded by the window object is requested from the hosting server.
loadEventEnd Gets the time when the onload event for the body element completed.
loadEventStart Gets the time when the onload event for the IHTMLBodyElement element started.
msFirstPaint Gets the time when the document loaded by the window object began to be displayed to the user.
navigationStart Gets the time of the initial navigation action for the document that is loaded by the window object.
redirectEnd If the document loaded into the window object was served from a different server due to redirection requests from the server hosting the initial URL specified by the user, this property gets the time the redirection request was completed.
redirectStart If the document loaded into the window object was served from a different server due to redirection requests from the server hosting the initial URL specified by the user, this property gets the time the redirection request was started.
requestStart Gets a value that represents the time when the document that was loaded by the window object was requested from the hosting server.
responseEnd Gets the time when a response is completed by the server that hosts the document that is loaded into the window object.
responseStart Gets a value that represents the time when a response began to be received from the server hosting the document loaded by the window object.
unloadEventEnd Gets a value that represents the time when the previously loaded document was removed from the window object so that the current document could be loaded.
unloadEventStart Gets a value that represents the time that the previously loaded document began to be removed from the window object so that the current document could be loaded.

Methods

Method Description
toJSON Returns the calling object as a JavaScript Object Notation (JSON) object.

Remarks

When a webpage is displayed in Internet Explorer 9 mode, Internet Explorer records records timestamps that correspond to the time when various steps occured during the process used to load a document. Each property of the performanceTiming object corresponds to one of these timestamps.

The built-in performance marks occur in the following order:

The properties of the performanceTiming object represent the number of milliseconds that have elapsed between midnight January 1, 1970 and the time the measurement was recorded.

Standards Information

There is no public standard that applies to this object.

Applies To

performance
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ