Contact emails
[email protected], [email protected], [email protected]
Explainer
https://github.com/w3c/compute-pressure/blob/main/README.md
Specification
https://www.w3.org/TR/compute-pressure
Design docs
https://developer.chrome.com/docs/web-platform/compute-pressure
Summary
The Compute Pressure API offers high-level states that represent the pressure on the system. It allows the implementation to use the right underlying hardware metrics to ensure that users can take advantage of all the processing power available to them as long as the system is not under unmanageable stress.
“Pressure” is a generic term by design – at the moment it is calculated based on CPU load, but future plans include using signals from temperature and battery status, for example.
Blink component
Blink>PerformanceAPIs>ComputePressure
Search tags
compute pressure
TAG review
spec review: https://github.com/w3ctag/design-reviews/issues/795
wide review tracker: https://github.com/w3c/compute-pressure/issues/177
TAG review status
Issues addressed
https://github.com/w3ctag/design-reviews/issues/795#issuecomment-1513997968
Interoperability and Compatibility
Gecko: No signal (https://github.com/mozilla/standards-positions/issues/521)
WebKit: Negative (https://lists.webkit.org/pipermail/webkit-dev/2021-May/031845.html) This issue has been taken into account: https://github.com/w3c/compute-pressure/issues/24
Web developers: Positive (https://github.com/w3c/compute-pressure/issues/14)
Security
https://github.com/w3c/compute-pressure/issues/79
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?
Goals for experimentation
We want developer feedback around the feature's performance and applicability in real usage scenarios.
The API shape has changed significantly since the first Origin Trial (M92-M94), and we would like to get additional developer feedback before shipping.
https://github.com/w3c/compute-pressure/blob/main/CHANGES.md
Ongoing technical constraints
Debuggability
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No, supported for Windows, Mac, Linux, Chrome OS.
Is this feature fully tested by web-platform-tests?
Yes
DevTrial instructions
https://github.com/w3c/compute-pressure/blob/main/HOWTO.md
Flag name
--enable-features=ComputePressure
see https://github.com/w3c/compute-pressure/blob/main/HOWTO.md
Requires code in //chrome?
False
Tracking bug
Launch bug
Estimated milestones
We hope to start the Origin Trial sometime during M115 beta. We plan to continue the Origin Trial until the end of M117 to give developers time to test the API and provide feedback.
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5597608644968448
Links to previous Intent discussions
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/LTIRZ24C5Os/m/BPSeJ8y0BwAJ
Ready for Trial: https://groups.google.com/u/1/a/chromium.org/g/blink-dev/c/-1ciwdn23J4
Intent to Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/HzVV-sM97T0
Apologies for this slipping through the cracks.
LGTM to experiment from M115 to M117.
--
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 [email protected].
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/[email protected].
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/[email protected].