Intent to Experiment: Compute Pressure

733 wyświetlenia
Przejdź do pierwszej nieodczytanej wiadomości

Mandy, Arnaud

nieprzeczytany,
20 kwi 2023, 06:20:2120.04.2023
do Abridged recipients, Christiansen, Kenneth R, Wang, Wei4

Contact emails

kenneth.r.c...@intel.com, arnaud...@intel.com, wei4...@intel.com


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


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


      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

https://wpt.fyi/results/compute-pressure?label=master&label=experimental&aligned&view=subtest&q=compute-pressure


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

https://crbug.com/1067627


Launch bug

https://crbug.com/1173266


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



Ajay Rahatekar

nieprzeczytany,
1 maj 2023, 18:15:281.05.2023
do blink-dev, arnaud...@intel.com, Christiansen, Kenneth R, wei4...@intel.com
+ajayra...@google.com

Friendly ping for review.

Mike Taylor

nieprzeczytany,
2 maj 2023, 13:51:552.05.2023
do Ajay Rahatekar, blink-dev, arnaud...@intel.com, Christiansen, Kenneth R, wei4...@intel.com

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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/259034fd-21b0-43fd-bd25-c9e361a625ecn%40chromium.org.

Ajay Rahatekar

nieprzeczytany,
2 maj 2023, 13:52:522.05.2023
do blink-dev, mike...@chromium.org, arnaud...@intel.com, Christiansen, Kenneth R, wei4...@intel.com, Ajay Rahatekar
Ty, Mike.

Mandy, Arnaud

nieprzeczytany,
3 maj 2023, 01:28:083.05.2023
do Ajay Rahatekar, blink-dev, mike...@chromium.org, Christiansen, Kenneth R, Wang, Wei4
Great! Thank you!

Arno


From: Ajay Rahatekar <ajayra...@google.com>
Sent: Tuesday, May 2, 2023 20:52
To: blink-dev <blin...@chromium.org>
Cc: mike...@chromium.org <mike...@chromium.org>; Mandy, Arnaud <arnaud...@intel.com>; Christiansen, Kenneth R <kenneth.r.c...@intel.com>; Wang, Wei4 <wei4...@intel.com>; Ajay Rahatekar <ajayra...@google.com>
Subject: Re: [blink-dev] Re: Intent to Experiment: Compute Pressure
 

Ajay Rahatekar

nieprzeczytany,
12 maj 2023, 01:14:3112.05.2023
do blink-dev, arnaud...@intel.com, mike...@chromium.org, Christiansen, Kenneth R, wei4...@intel.com, Ajay Rahatekar
Hello API Owners, 

The Intent to Experiment mentions Origin Trial duration of M115 - M117. We would like approval to have the Origin Trial for M115 - M118 based on the current 4 week Chrome release cycle.

Thanks in advance.

-Ajay

Mike West

nieprzeczytany,
12 maj 2023, 02:43:4812.05.2023
do Ajay Rahatekar, blink-dev, arnaud...@intel.com, mike...@chromium.org, Christiansen, Kenneth R, wei4...@intel.com
Extending from M117 to M118 LGTM.

-mike


Ajay Rahatekar

nieprzeczytany,
12 maj 2023, 10:27:1412.05.2023
do Mike West, blink-dev, arnaud...@intel.com, mike...@chromium.org, Christiansen, Kenneth R, wei4...@intel.com
Thank you, Mike.

-Ajay
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0