Export (0) Print
Expand All

performanceTiming object

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

This object is not supported for Windows Store apps using JavaScript.

Internet Explorer 9

 

Members

The performanceTiming object has these types of members:

Properties

The performanceTiming object has these properties.

PropertyAccess typeDescription

connectEnd

Gets the time that the user agent finishes establishing the connection to the server to retrieve the current document.

connectStart

Gets the time immediately before the user agent starts establishing the connection to the server to retrieve the document.

domainLookupEnd

The domainLookupEnd property must return the time immediately after the user agent finishes the domain name lookup for the current document. If a persistent connection is used or the current document is retrieved from relevant application caches or local resources, this property must return the same value as fetchStart.

domainLookupStart

The domainLookupStart property must return the time immediately before the user agent starts the domain name lookup for the current document. If a persistent connection is used or the current document is retrieved from relevant application caches or local resources, this attribute must return the same value as fetchStart.

domComplete

The domComplete property must return the time immediately before the user agent sets the current document readiness to complete.

domContentLoadedEventEnd

Read-only

Returns the time, in milliseconds, immediately after the document's DOMContentLoaded event completes.

domContentLoadedEventStart

The domContentLoadedEventStart property must return the time immediately before the user agent fires the DOMContentLoaded event of the document.

domInteractive

The domInteractive property must return the time immediately before the user agent sets the current document readiness to interactive.

domLoading

The domLoading property must return the time immediately before the user agent sets the current document readiness to loading.

fetchStart

Gets the time when the user agent starts fetching the resource.

loadEventEnd

The loadEventEnd property must return the time when the load event of the current document is completed. It must return zero when the load event is not fired or is not completed.

loadEventStart

The loadEventStart property must return the time immediately before the load event of the current document is fired. It must return zero if the load event has not been fired.

msFirstPaint

Gets the time when the document loaded by the window object began to be displayed to the user.

navigationStart

The navigationStart property must return the time immediately after the user agent finishes prompting to unload the previous document. If there is no previous document, this property must return the same value as fetchStart.

redirectEnd

If there are HTTP redirects or equivalent when navigating and all redirects and equivalents are from the same origin, the redirectEnd property must return the time immediately after receiving the last byte of the response of the last redirect. Otherwise, this property must return zero.

redirectStart

If there are HTTP redirects or equivalent when navigating and if all the redirects or equivalent are from the same origin, the redirectStart property must return the starting time of the fetch that initiates the redirect. Otherwise, this attribute must return zero.

requestStart

The requestStart property must return the time immediately before the user agent starts requesting the current document from the server, from relevant application caches, or from local resources.

responseEnd

The responseEnd property must return the time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first. The document here can be received either from the server, relevant application caches, or from local resources.

responseStart

The responseStart property must return the time immediately after the user agent receives the first byte of the response from the server, from relevant application caches, or from local resources.

unloadEventEnd

If the previous document and the current document have the same origin, the unloadEventEnd property must return the time immediately after the user agent finishes the unload event of the previous document. If there is no previous document or the previous document has a different origin than the current document, or the unload is not yet completed, this attribute must return zero.

unloadEventStart

If the previous document and the current document have the same origin, the unloadEventStart property must return the time immediately before the user agent starts the unload event of the previous document. If there is no previous document or the previous document has a different origin than the current document, this attribute must return zero.

 

Standards information

Remarks

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

This object is not supported for Windows Store apps using JavaScript.

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.

 

 

Show:
© 2014 Microsoft