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.

Status in Chromium


Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Comments

`performance.getEntriesByType('paint').forEach(entry => console.log(entry.name, entry.startTime))`

Last updated on 2020-11-09