Intent to Experiment: Speculation Rules - moderate viewport heuristics controls

20 views
Skip to first unread message

Yoav Weiss (@Shopify)

unread,
7:25 AM (3 hours ago) 7:25 AM
to blink-dev
Contact emails
yoav...@chromium.org

Explainer
https://gist.github.com/yoavweiss/6bb2de06642b475a12205684aea2eef9

Specification
No spec - this is an experiment-only feature.

Summary
Current viewport heuristics for speculation rules don't give any room for developer experimentation. This experimental feature will provide such controls, and enable developers to figure out if different heuristics parameters give them better results than the default ones. This is a feature only aimed at experimentation, and there are no plans to ship it as is.

Blink component
Blink>PerformanceAPIs

Web Feature ID
Missing feature - this feature will not exist beyond this experiment.

TAG review
N/A - as we're not intending to ship this feature, a TAG review doesn't seem necessary.

TAG review status
N/A

Goals for experimentation
Allow developers to find and report back mobile-viewport heuristic values that work well for them and enable performance benefits from "moderate" speculation rules.

Risks


Interoperability and Compatibility
No interop concern, as there are no plans to ship this API as is.
No compat concerns, as this is a new Speculation Rules rule.

Gecko: No signal, as this is an experiment-only feature.

WebKit: No signal, as this is an experiment-only feature.

Web developers: Shopify is interested in experimenting with modified viewport heuristics.

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

No


Ongoing technical constraints
No

Debuggability
N/A - A simple added rule to speculation rules doesn't require any debuggability accomodations.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
No - this is aimed at mobile viewport heuristics, so Android only.

Is this feature fully tested by web-platform-tests?
No. This is not aimed to be a web exposed feature, so unit tests seem sufficient.


Flag name on about://flags
No information provided

Finch feature name
SpeculationRulesModerateViewportHeuristicsControl

Non-finch justification
No information provided

Requires code in //chrome?
False

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

Estimated milestones

M152-M157 inclusive



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

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