kenneth.r.c...@intel.com, arnaud...@intel.com, wei4...@intel.com, raphael.ku...@intel.com
https://github.com/w3c/compute-pressure/blob/main/README.md
https://www.w3.org/TR/compute-pressure
The Compute Pressure API offers high-level states that represent the pressure on the system. It allows the implementation to use underlying hardware/platform metrics to inform
the API users of possible stress (high CPU load at the moment) on the system and consequently take the corrective actions needed.
“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.
https://developer.chrome.com/docs/web-platform/compute-pressure/
Blink>PerformanceAPIs>ComputePressure
spec review: https://github.com/w3ctag/design-reviews/issues/795
wide review tracker: https://github.com/w3c/compute-pressure/issues/177
Issues addressed
ComputePressure
https://developer.chrome.com/docs/web-platform/compute-pressure/
Origin Trials history
The
first Origin Trial was run between M92-94.
The Compute Pressure API was widely redesigned after this OT to resemble existing observer-based web APIs and also to provide better privacy and security guarantees after discussions with PING.
The
second Origin Trial took place during M115-M120.
During this origin trial we realized that the full capacity of the API couldn’t be tested due to a lack of support for third-party tokens. An
Origin
Trial extension was necessary until M123.
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)
Other signals:
https://github.com/w3c/compute-pressure/issues/79
No
No,
Windows, Linux, ChromeOs, Mac.
Support on Android (incl. Android WebView) has been deprioritized as there is no current way to access the telemetry needed after Android 11, and the current partners we are engaging with have no need as they are using native solutions on Android at this point.
Yes
https://wpt.fyi/results/compute-pressure?run_id=5116280230641664
The wpt.fyi results are flaky due to WPT bug 44438
https://github.com/w3c/compute-pressure/blob/main/HOWTO.md
see https://github.com/w3c/compute-pressure/blob/main/HOWTO.md
None
None
False
OriginTrial desktop extension |
123 |
OriginTrial desktop last |
118 |
OriginTrial desktop first |
115 |
OriginTrial desktop last |
94 |
OriginTrial desktop first |
92 |
DevTrial on desktop |
109 |
None
https://chromestatus.com/feature/5597608644968448
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/QfJ4pngu3gc
Intent to Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/HzVV-sM97T0
Intent to Extend Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/s83S7wXxa6E/m/AjvsIJxmAQAJ
This intent message was generated by Chrome Platform Status.
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
--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/DS0PR11MB7902DDE9FBF54F29CFD8312593222%40DS0PR11MB7902.namprd11.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/68e05b3e-18c8-4330-8b67-b55cbd5bfdb1%40chromium.org.
Can you add a comment to this issue pointing to this I2S, and any relevant changes since the original issue was opened?
Risks
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
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEmk%3DMaeM0B-mmgK5DO_a57WbRzf3BBkK724QJL5%3DqG5NFxgOA%40mail.gmail.com.
The other issue raised is around the usefulness (or lack thereof) of apps changing behavior based on system load, rather than based on the time is takes them to achieve certain tasks. Was that discussed somewhere?
The other issue raised is around the usefulness (or lack thereof) of apps changing behavior based on system load, rather than based on the time is takes them to achieve certain tasks. Was that discussed somewhere?That is mentioned in the README (linked to from the spec): Goals / Motivating Use Cases
Cheers,Kenneth
On Tue, Mar 5, 2024 at 5:56 AM Mike Taylor <mike...@chromium.org> wrote:During this origin trial we realized that the full capacity of the API couldn’t be tested due to a lack of support for third-party tokens. An Origin Trial extension was necessary until M123.
Is there any developer feedback that can be shared from the origin trials? I'm looking for signals that developers have been able to improve user experiences by using the new signals.
As Kenneth mentioned, the aggregated/anonymized feedback (largely positive) was shared with the Intel team in consultation with the Google Privacy team. Internal copy is available as needed.
On Wednesday, March 6, 2024 at 5:57:47 AM UTC-8 kenneth.ch...@gmail.com wrote:On Tue, Mar 5, 2024 at 7:14 PM Reilly Grant <rei...@chromium.org> wrote:On Tue, Mar 5, 2024 at 5:56 AM Mike Taylor <mike...@chromium.org> wrote:During this origin trial we realized that the full capacity of the API couldn’t be tested due to a lack of support for third-party tokens. An Origin Trial extension was necessary until M123.
Is there any developer feedback that can be shared from the origin trials? I'm looking for signals that developers have been able to improve user experiences by using the new signals.Though we cannot share the exact feedback from the origin trial due to confidentiality (we also only got a summary ourselves as non-Googlers), the feedback was quite positive with all respondents extremely likely to continue using the API. None of the respondents found the API hard to use, but we received some minor feedback on the API shape and feature requests that we have adopted or at least filed issues for.Ajay (cc'ed), might be able to share more.Kenneth
--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/143ee50c-9ff4-4dfb-860c-700155bcd065n%40chromium.org.
... show some form of user-visible notification that informs the user when a pressure observer is active, as well as provides the user with the means to block the ongoing operation ...
On Wednesday, March 6, 2024 at 6:53:40 PM UTC Reilly Grant wrote:
In https://github.com/w3c/compute-pressure/issues/14 an engineer from Zoom expressed interest in this feature. Do you know if Zoom or any of the other developers mentioned in the TAG review have deployed an experiment using this Origin Trial and if so have they been able to confirm the expected improvement?
Here at Whereby, we’ve been experimenting with this Origin Trial and have found it to be valuable.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/36e63e65-9326-4f5f-8fa0-b1e512e53394n%40chromium.org.
--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYczFYrzzMWwv3p0H-uT_NdeN5TNzrqDkmff5ciWpHnqaw%40mail.gmail.com.
Specification
https://www.w3.org/TR/compute-pressure
Summary
The Compute Pressure API offers high-level states that represent the pressure on the system. It allows the implementation to use underlying hardware/platform metrics to inform the API users of possible stress (high CPU load at the moment) on the system and consequently take the corrective actions needed.
“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.
https://developer.chrome.com/docs/web-platform/compute-pressure/
Search tags
wide review tracker: https://github.com/w3c/compute-pressure/issues/177
TAG review status
Issues addressed
Chromium Trial Name
ComputePressure
Origin Trial documentation link
https://developer.chrome.com/docs/web-platform/compute-pressure/
Origin Trials history