Intent to Ship: First Paint Timing API

213 weergaven
Naar het eerste ongelezen bericht

Shubhie Panicker

ongelezen,
11 mei 2017, 17:55:0711-05-2017
aan blink-dev, Tim Dresser, Ilya Grigorik

Contact emails

pani...@chromium.org, tdre...@chromium.org, igri...@google.com

 

Spec

https://github.com/wicg/paint-timing

Tag review: https://github.com/w3ctag/design-reviews/issues/177

 

Summary

No single moment in time completely captures the user’s "loading experience". To give developers better insight into the loading experience, we will expose two new key progress metrics that capture the key moments during pageload: First Paint (FP) and First Contentful Paint (FCP).

For detailed motivation for First Paint, see the Why First Paint doc.

 

(In the future, we may expose more such key moments — for example, time to first meaningful paint, time to interactive, etc. — to help developers better understand and optimize the loading experience.)

 

Also, the non-standardized first-paint API (chrome.loadTimes’ firstPaint) has high usage ~0.97%, we cannot deprecate and remove this API without shipping the standardized API.

 

Link to “Intent to Implement” blink-dev discussion

Intent to Implement thread

https://discourse.wicg.io/t/expose-first-paint-timing-in-performance-observer/1868/2

The primary feedback we got was to make the timing more accurate by capturing the cost of the rendering pipeline (compositing, rasterization) -- we have now updated the timing to include time up to the swap.

 

Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes.

 

Interoperability and Compatibility Risk

Compat risk is none, the event is exposed via well-defined Performance Observer interface.
Interop risk is moderate to low: the cost of the rendering pipeline is implementation-dependent on different browsers.

 

Edge: Public support

Firefox: No signals

Safari: Public support

Web developers: Positive (SOASTA, Facebook, AMP)

 

Is this feature fully tested by web-platform-tests?

 

OWP launch tracking bug

OWP launch tracking bug.

 

Entry on the feature dashboard

https://www.chromestatus.com/feature/5688621814251520


Chris Harrelson

ongelezen,
15 mei 2017, 21:09:2915-05-2017
aan Shubhie Panicker, blink-dev, Tim Dresser, Ilya Grigorik
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

TAMURA, Kent

ongelezen,
16 mei 2017, 02:00:2916-05-2017
aan Chris Harrelson, Shubhie Panicker, blink-dev, Tim Dresser, Ilya Grigorik
LGTM2.


Jochen Eisinger

ongelezen,
22 mei 2017, 07:16:0222-05-2017
aan TAMURA, Kent, Chris Harrelson, Shubhie Panicker, blink-dev, Tim Dresser, Ilya Grigorik
lgtm3

LGTM2.


LGTM1

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw8CpZBMuPrMHY4q3wFn0-%2BO1eX6enK-zsuNO3i9SQV%3D9g%40mail.gmail.com.
--
TAMURA Kent
Software Engineer, Google


--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten