Intent to Prototype: Speculative load measurement

16 views
Skip to first unread message

Yoav Weiss (@Shopify)

unread,
8:12 AM (2 hours ago) 8:12 AM
to blink-dev, Barry Pollard
Contact emails
yoav...@chromium.orgbarryp...@google.com

Explainer
https://github.com/yoavweiss/speculative_load_measurement/blob/main/README.md#speculative-load-measurement-api

Specification
Not yet!

Summary
Expose measurement data regarding speculative loads (preloads, prefetch and prerenders) as part of the "pagehide" event. That would enable developers to measure the efficacy of various speculative loading strategies and adapt them accordingly.

Blink component
Blink>PerformanceAPIs

Web Feature ID
Missing feature

Motivation
Modern web applications can use speculative loading techniques to improve navigation performance. However, developers currently lack visibility into whether these speculations were actually used, making it hard for them to deploy higher eagerness values than "conservative". Such values can result in wasted user bandwidth and server-side load, and currently developers have no way to weigh the trade-off between those and potential performance gains. This proposal addresses this by exposing information about used and unused speculative loads on page dismissal, enabling developers to measure speculation effectiveness and optimize their speculative load strategies, to pick the trade-off that's right for them.

Initial public proposal
https://github.com/WICG/proposals/issues/264

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/issues/481590676

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5118840377835520?gate=5117422031994880

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages