Interface PerformanceResourceTiming

    Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, , image, or script.

    MDN Reference

    interface PerformanceResourceTiming {
        connectEnd: number;
        connectStart: number;
        decodedBodySize: number;
        domainLookupEnd: number;
        domainLookupStart: number;
        duration: number;
        encodedBodySize: number;
        entryType: string;
        fetchStart: number;
        initiatorType: string;
        name: string;
        nextHopProtocol: string;
        redirectEnd: number;
        redirectStart: number;
        requestStart: number;
        responseEnd: number;
        responseStart: number;
        secureConnectionStart: number;
        serverTiming: readonly PerformanceServerTiming[];
        startTime: number;
        transferSize: number;
        workerStart: number;
        toJSON(): any;
    }
    Hierarchy

    Properties

    connectEnd: number
    connectStart: number
    decodedBodySize: number
    domainLookupEnd: number
    domainLookupStart: number
    duration: number
    encodedBodySize: number
    entryType: string
    fetchStart: number
    initiatorType: string
    name: string
    nextHopProtocol: string
    redirectEnd: number
    redirectStart: number
    requestStart: number
    responseEnd: number
    responseStart: number
    secureConnectionStart: number
    serverTiming: readonly PerformanceServerTiming[]
    startTime: number
    transferSize: number
    workerStart: number

    Methods