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. You get a PerformanceTiming object describing your page using the window.performance.timing property.

This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.

interface PerformanceTiming {
    connectEnd: number;
    connectStart: number;
    domComplete: number;
    domContentLoadedEventEnd: number;
    domContentLoadedEventStart: number;
    domInteractive: number;
    domLoading: number;
    domainLookupEnd: number;
    domainLookupStart: 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;
}

Properties

connectEnd: number
connectStart: number
domComplete: number
domContentLoadedEventEnd: number
domContentLoadedEventStart: number
domInteractive: number
domLoading: number
domainLookupEnd: number
domainLookupStart: 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

Methods

  • Returns any