Interface PerformanceNavigationTiming

    Provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document.

    MDN Reference

    interface PerformanceNavigationTiming {
        connectEnd: number;
        connectStart: number;
        decodedBodySize: number;
        domainLookupEnd: number;
        domainLookupStart: number;
        domComplete: number;
        domContentLoadedEventEnd: number;
        domContentLoadedEventStart: number;
        domInteractive: number;
        duration: number;
        encodedBodySize: number;
        entryType: string;
        fetchStart: number;
        initiatorType: string;
        loadEventEnd: number;
        loadEventStart: number;
        name: string;
        nextHopProtocol: string;
        redirectCount: number;
        redirectEnd: number;
        redirectStart: number;
        requestStart: number;
        responseEnd: number;
        responseStart: number;
        secureConnectionStart: number;
        serverTiming: readonly PerformanceServerTiming[];
        startTime: number;
        transferSize: number;
        type: NavigationTimingType;
        unloadEventEnd: number;
        unloadEventStart: number;
        workerStart: number;
        toJSON(): any;
    }
    Hierarchy

    Properties

    connectEnd: number
    connectStart: number
    decodedBodySize: number
    domainLookupEnd: number
    domainLookupStart: number
    domComplete: number
    domContentLoadedEventEnd: number
    domContentLoadedEventStart: number
    domInteractive: number
    duration: number
    encodedBodySize: number
    entryType: string
    fetchStart: number
    initiatorType: string
    loadEventEnd: number
    loadEventStart: number
    name: string
    nextHopProtocol: string
    redirectCount: number
    redirectEnd: number
    redirectStart: number
    requestStart: number
    responseEnd: number
    responseStart: number
    secureConnectionStart: number
    serverTiming: readonly PerformanceServerTiming[]
    startTime: number
    transferSize: number
    unloadEventEnd: number
    unloadEventStart: number
    workerStart: number

    Methods