coderef

Resource timing performance entriesBaseline · Widely available

A resource performance entry records when a network event happens while loading a resource, such as when a connection starts and ends. You can use this information to measure loading times.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 19, 2017. Widely available since Mar 19, 2020.

Browser support

DesktopChrome
1–28Not supported
29+Supportedsince Aug 20, 2013
Current: 155
Edge
12+Supportedsince Jul 29, 2015
Current: 154
Firefox
1–34Not supported
35+Supportedsince Jan 13, 2015
Current: 157
Safari
1–10.1Not supported
11+Supportedsince Sep 19, 2017
Current: 27
MobileChrome Android
18–28Not supported
29+Supportedsince Aug 21, 2013
Current: 155
Firefox Android
4–34Not supported
35+Supportedsince Jan 13, 2015
Current: 157
Safari iOS
1–10.3Not supported
11+Supportedsince Sep 19, 2017
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: clearResourceTimings.

Feature detection

JS · check before using
if ("PerformanceResourceTiming" in globalThis) {
  // PerformanceResourceTiming is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (25). The overall table above shows when the whole feature works.

Show 5 more
Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
PerformanceResourceTiming.responseStatus109109129✕109129✕
PerformanceResourceTiming.secureConnectionStart43183511433511
PerformanceResourceTiming.toJSON45163511453511
PerformanceResourceTiming.workerStart46165811465811
PerformanceResourceTiming.worker_support431560124360✕