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;
responseStatus: 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;
responseStatus: number;
secureConnectionStart: number;
serverTiming: readonly PerformanceServerTiming[];
startTime: number;
transferSize: number;
workerStart: number;
toJSON(): any;
}
Hierarchy
- PerformanceEntry
- PerformanceResourceTiming (View Summary)
Index
Properties
connectEnd
connectStart
decodedBodySize
domainLookupEnd
domainLookupStart
duration
encodedBodySize
entryType
fetchStart
initiatorType
name
nextHopProtocol
redirectEnd
redirectStart
requestStart
responseEnd
responseStart
responseStatus
secureConnectionStart
serverTiming
startTime
transferSize
workerStart
Methods
Properties
ReadonlyconnectEnd
connectEnd: number
ReadonlyconnectStart
connectStart: number
ReadonlydecodedBodySize
decodedBodySize: number
ReadonlydomainLookupEnd
domainLookupEnd: number
ReadonlydomainLookupStart
domainLookupStart: number
Readonlyduration
duration: number
ReadonlyencodedBodySize
encodedBodySize: number
ReadonlyentryType
entryType: string
ReadonlyfetchStart
fetchStart: number
ReadonlyinitiatorType
initiatorType: string
Readonlyname
name: string
ReadonlynextHopProtocol
nextHopProtocol: string
ReadonlyredirectEnd
redirectEnd: number
ReadonlyredirectStart
redirectStart: number
ReadonlyrequestStart
requestStart: number
ReadonlyresponseEnd
responseEnd: number
ReadonlyresponseStart
responseStart: number
ReadonlyresponseStatus
responseStatus: number
ReadonlysecureConnectionStart
secureConnectionStart: number
ReadonlyserverTiming
ReadonlystartTime
startTime: number
ReadonlytransferSize
transferSize: number
ReadonlyworkerStart
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