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.
class PerformanceResourceTiming | globals module | Bun, image, or script.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)"/>, image, or script.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)"/> BuildDocsReferenceGuidesBlogDiscord/Globals/PerformanceResourceTimingPconnectEndPconnectStartPdecodedBodySizePdomainLookupEndPdomainLookupStartPdurationPencodedBodySizePentryTypePfetchStartPinitiatorTypePnamePnextHopProtocolPredirectEndPredirectStartPrequestStartPresponseEndPresponseStartPresponseStatusPsecureConnectionStartPserverTimingPstartTimeMtoJSONPtransferSizePworkerStart BuildDocsReferenceGuidesBlogDiscord /Globals/PerformanceResourceTimingPconnectEndPconnectStartPdecodedBodySizePdomainLookupEndPdomainLookupStartPdurationPencodedBodySizePentryTypePfetchStartPinitiatorTypePnamePnextHopProtocolPredirectEndPredirectStartPrequestStartPresponseEndPresponseStartPresponseStatusPsecureConnectionStartPserverTimingPstartTimeMtoJSONPtransferSizePworkerStart readonly connectEnd: number readonly connectStart: number readonly decodedBodySize: number readonly domainLookupEnd: number readonly domainLookupStart: number readonly duration: number readonly encodedBodySize: number readonly entryType: string readonly fetchStart: number readonly initiatorType: string readonly name: string readonly nextHopProtocol: string readonly redirectEnd: number readonly redirectStart: number readonly requestStart: number readonly responseEnd: number readonly responseStart: number readonly responseStatus: number readonly secureConnectionStart: number readonly serverTiming: readonly PerformanceServerTiming[] readonly startTime: number readonly transferSize: number readonly workerStart: number toJSON(): any;
Search the reference...
/
class
PerformanceResourceTiming, image, or script. [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)" data-algolia-static="false" data-algolia-merged="false" data-type="Class">class PerformanceResourceTimingResources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →class PerformanceResourceTiming | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Enables retrieval and analysis of detailed network timing data regarding the loading of an application