Interface PerformanceResourceTiming
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;
}
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
- PerformanceEntry
- PerformanceResourceTiming (view full)
Index
Properties
Methods
Properties
Readonly
connectEnd
connectEnd : number
Readonly
connectStart
connectStart : number
Readonly
decodedBodySize
decodedBodySize : number
Readonly
domainLookupEnd
domainLookupEnd : number
Readonly
domainLookupStart
domainLookupStart : number
Readonly
duration
duration: number
Readonly
encodedBodySize
encodedBodySize : number
Readonly
entryType
entryType : string
Readonly
fetchStart
fetchStart : number
Readonly
initiatorType
initiatorType : string
Readonly
name
name: string
Readonly
nextHopProtocol
nextHopProtocol : string
Readonly
redirectEnd
redirectEnd : number
Readonly
redirectStart
redirectStart : number
Readonly
requestStart
requestStart : number
Readonly
responseEnd
responseEnd : number
Readonly
responseStart
responseStart : number
Readonly
secureConnectionStart
secureConnectionStart : number
Readonly
serverTiming
Readonly
startTime
startTime : number
Readonly
transferSize
transferSize : number
Readonly
workerStart
workerStart : number
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,
MDN Reference