coderef

Paint timing performance entriesBaseline · Widely available

A paint performance entry measures the duration of "paint" (also called "render") operations as a page loads. It measures the time to First Paint (FP) and First Contentful Paint (FCP), common metrics for perceived loading times.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Apr 26, 2021. Widely available since Oct 26, 2023.

Browser support

DesktopChrome
1–59Not supported
60+Supportedsince Jul 25, 2017
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–83Not supported
84+Supportedsince Dec 15, 2020
Current: 157
Safari
1–14Not supported
14.1+Supportedsince Apr 26, 2021
Current: 27
MobileChrome Android
18–59Not supported
60+Supportedsince Aug 1, 2017
Current: 155
Firefox Android
4–83Not supported
84+Supportedsince Dec 15, 2020
Current: 157
Safari iOS
1–14Not supported
14.5+Supportedsince Apr 26, 2021
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: PerformancePaintTiming.

Feature detection

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

Sub-features

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

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
PerformancePaintTiming60798414.1608414.5
PerformancePaintTiming.first-contentful-paint60798414.1608414.5
PerformancePaintTiming.first-paint6079✕✕60✕✕
PerformancePaintTiming.toJSON60798414.1608414.5