Intent to Prototype: Compute Pressure

375 views
Skip to first unread message

Olivier Yiptong

unread,
Mar 29, 2021, 7:40:39 PM3/29/21
to blink-dev

Contact emails

oyip...@chromium.orgpwn...@chromium.org

Explainer


https://github.com/oyiptong/compute-pressure/blob/main/README.md

Specification

None

Summary

Gives the ability for web applications to anticipate and react to computational load changes on a device. Today, no API exists to provide signals about system computation usage. This API also gives a signal about processor state with respect to speed throttling.



Blink component

Blink>PerformanceAPIs>ComputePressure

Motivation

Web applications are today being used to provide a wide range of solutions, including some use-cases that push the capabilities of the device they are running on, e.g. video gaming and video-conferencing. It is a testament to the web's power as a platform that one application will run on devices ranging from low-powered devices all the way to the most powerful machines. However, a one-size-fits all approach does not work well for computational intensive applications; a missing capability of the web is to allow developers to tailor the experience depending on computational capacity. Compute-intensive web apps that want to provide a good experience across their user base rely on browser extensions to access system metrics. The Compute Pressure API will let developers write web applications that anticipate and react to system load changes to provide a great experience for users regardless of their device's compute prowess.



Initial public proposal

https://github.com/WICG/proposals/issues/28

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals


Is this feature fully tested by web-platform-tests?

No

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1067627

Launch bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1173266

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5597608644968448

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