API to enable developers to measure time for First Paint (FP) & First Contentful Paint (FCP) -- the first key moments in loading that they care about. These moments are added as 'paint' entries in the Performance Timing API.
Documentation
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 60
- Chrome for Android release 60
- Android WebView release 60
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
Owner
Last updated on 2020-11-09
Comments
`performance.getEntriesByType('paint').forEach(entry => console.log(entry.name, entry.startTime))`