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.
"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.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
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.
No milestones specified