[webkit-dev] Request for Position: Compute Pressure API
oyiptong at chromium.org
Wed May 5 13:27:58 PDT 2021
Yes, we've internally discussed how this can increase precision in
The result of these discussions resulted in mitigations that address this:
The main thrusts are as follows:
- The UA can control how many bits of entropy by decided on how many
thresholds are accepted from an observer request, effectively determining
the number of "buckets" of information to expose
- The values returned are "quantized" relative to the requested
- The observer requests are rate-limited
- The values returned are normalized within a known range
- Per-core information is aggregated into a single value for both
utilization and speed
We are also applying some mitigations in our implementation, e.g. only
allowing access to the API in visible pages, having a different update rate
for visible tabs than for those that aren't visible, etc.
We can also discuss implementation details if you're interested.
On Wed, May 5, 2021 at 12:13 PM Alex Christensen <achristensen at apple.com>
> Has anyone discussed how this can increase the precision of
> fingerprinting? It seems to reveal more information or more precise
> information about what else is going on on a user’s system.
> On May 5, 2021, at 11:37 AM, Olivier Yiptong via webkit-dev <
> webkit-dev at lists.webkit.org> wrote:
> Hello WebKit devs,
> We'd like to get WebKit's position on the Compute Pressure API.
> We propose a new API that conveys the utilization of CPU resources on the
> user's device. This API targets applications that can trade off CPU
> resources for an improved user experience. For example, many applications
> can render video effects with varying degrees of sophistication. These
> applications aim to provide the best user experience, while avoiding
> driving the user's device in a high CPU utilization regime.
> High CPU utilization is undesirable because it strongly degrades the user
> experience. Many smartphones, tablets and laptops become uncomfortably hot
> to the touch. The fans in laptops and desktops become so loud that they
> disrupt conversations or the users’ ability to focus. In many cases, a
> device under high CPU utilization appears to be unresponsive, as the
> operating system may fail to schedule the threads advancing the task that
> the user is waiting for.
> - Specification Title: Compute Pressure API
> - Specification URL: https://oyiptong.github.io/compute-pressure/
> - Explainger:
> - ChromeStatus.com entry:
> - TAG design review request:
> - Mozilla Request for Position:
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev