First Paint Timing API

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.

Comments

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

Documentation

Specification

Editor's draft

Status in Chromium

Blink>PerformanceAPIs


Enabled by default (tracking bug) in:

  • Chrome for desktop release 60
  • Chrome for Android release 60
  • Android WebView release 60
  • Opera release 47
  • Opera for Android release 47

Consensus & Standardization

Owner

Last updated on 2017-09-03