Interface PerformanceTiming
connectEnd: number;
connectStart: number;
domainLookupEnd: number;
domainLookupStart: number;
domComplete: number;
domContentLoadedEventEnd: number;
domContentLoadedEventStart: number;
domInteractive: number;
domLoading: number;
fetchStart: number;
loadEventEnd: number;
loadEventStart: number;
navigationStart: number;
redirectEnd: number;
redirectStart: number;
requestStart: number;
responseEnd: number;
responseStart: number;
secureConnectionStart: number;
unloadEventEnd: number;
unloadEventStart: number;
toJSON(): any;
}
Index
Properties
Methods
Properties
ReadonlyconnectEnd
The legacy PerformanceTiming.connectEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the connection is opened network.
ReadonlyconnectStart
The legacy PerformanceTiming.connectStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the request to open a connection is sent to the network.
ReadonlydomainLookupEnd
The legacy PerformanceTiming.domainLookupEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the domain lookup is finished.
ReadonlydomainLookupStart
The legacy PerformanceTiming.domainLookupStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the domain lookup starts.
ReadonlydomComplete
The legacy PerformanceTiming.domComplete read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the parser finished its work on the main document, that is when its Document.readyState changes to 'complete' and the corresponding Document/readystatechange_event event is thrown.
ReadonlydomContentLoadedEventEnd
The legacy PerformanceTiming.domContentLoadedEventEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, right after all the scripts that need to be executed as soon as possible, in order or not, has been executed.
ReadonlydomContentLoadedEventStart
The legacy PerformanceTiming.domContentLoadedEventStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, right before the parser sent the executed right after parsing has been executed.
ReadonlydomInteractive
The legacy PerformanceTiming.domInteractive read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the parser finished its work on the main document, that is when its Document.readyState changes to 'interactive' and the corresponding Document/readystatechange_event event is thrown.
ReadonlydomLoading
The legacy PerformanceTiming.domLoading read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the parser started its work, that is when its corresponding Document/readystatechange_event event is thrown.
ReadonlyfetchStart
The legacy PerformanceTiming.fetchStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the browser is ready to fetch the document using an HTTP request.
ReadonlyloadEventEnd
The legacy PerformanceTiming.loadEventEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the Window/load_event event handler terminated, that is when the load event is completed.
ReadonlyloadEventStart
The legacy PerformanceTiming.loadEventStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the Window/load_event event was sent for the current document.
ReadonlynavigationStart
The legacy PerformanceTiming.navigationStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, right after the prompt for unload terminates on the previous document in the same browsing context.
ReadonlyredirectEnd
The legacy PerformanceTiming.redirectEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the last HTTP redirect is completed, that is when the last byte of the HTTP response has been received.
ReadonlyredirectStart
The legacy PerformanceTiming.redirectStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the first HTTP redirect starts.
ReadonlyrequestStart
The legacy PerformanceTiming.requestStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the browser sent the request to obtain the actual document, from the server or from a cache.
ReadonlyresponseEnd
The legacy PerformanceTiming.responseEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, when the browser received the last byte of the response, or when the connection is closed if this happened first, from the server from a cache or from a local resource.
ReadonlyresponseStart
The legacy PerformanceTiming.responseStart read-only property returns an unsigned long long representing the moment in time (in milliseconds since the UNIX epoch) when the browser received the first byte of the response from the server, cache, or local resource.
ReadonlysecureConnectionStart
The legacy PerformanceTiming.secureConnectionStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the secure connection handshake starts.
ReadonlyunloadEventEnd
The legacy PerformanceTiming.unloadEventEnd read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the Window/unload_event event handler finishes.
ReadonlyunloadEventStart
The legacy PerformanceTiming.unloadEventStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, the Window/unload_event event has been thrown.
The
PerformanceTiminginterface is a legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page.Deprecated
This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
MDN Reference