Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Intent to Prototype: Compute pressure: Own contribution estimate

39 views
Skip to first unread message

Chromestatus

unread,
Apr 29, 2025, 10:44:59 AMApr 29
to blin...@chromium.org, arnaud...@intel.com

Contact emails

arnaud...@intel.com

Explainer

https://github.com/w3c/compute-pressure?tab=readme-ov-file#compute-pressure

Specification

https://github.com/w3c/compute-pressure/pull/298

Summary

The Compute Pressure API reports the global pressure state for specific sources, such as the CPU. Developers have shown interest in understanding their own impact on this state essentially, determining how much they are contributing to the pressure or if it is mostly due to external factors. The new "own contribution estimate" feature provides this detailed insight. By analyzing this estimate alongside the global pressure state, users can better understand how their current execution context affects the overall pressure. This allows them to make informed decisions and take appropriate actions based on their contribution.



Blink component

Blink>PerformanceAPIs>ComputePressure

Motivation

"own contribution estimated" is an extension to the existing Compute Prressure API. It provides one extra attribute to the existing interface PressureRecord. The new "own contribution estimate" feature provides a more detailed insight of compute pressure. By analyzing this estimate alongside the global pressure state, users can better understand how their current execution context affects the overall pressure. This allows them to make informed decisions and take appropriate actions based on their contribution.



Initial public proposal

https://github.com/w3c/compute-pressure/issues/8

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: Positive Discussed at conferences. https://github.com/w3c/compute-pressure/issues/8

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?

None



Debuggability

None



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

Yes

There are existing wpt for compute pressure API: https://wpt.fyi/results/compute-pressure?label=experimental&label=master&aligned This feature is only one extra attribute into an existing interface.



Flag name on about://flags

--enable-features=ComputePressureOwnContributionEstimate

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/4859019392712704?gate=5529192835579904

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