[compute-pressure] Exposing low-level metrics via permissions (#246)

DenizUgur has just created a new issue for https://github.com/w3c/compute-pressure:

== Exposing low-level metrics via permissions ==
I have read the specification and some of the issues if this has been discussed before and closest I've found is issue #24.

Apperantly it has been decided to not expose low level metrics and show higher level of CPU utilization via "pressure" abstraction. Which I agree that this is a good way to move forwards and many use cases would prefer this.

I have a niche use case, which might be worth considering. I believe that exposing low level metrics such as current CPU, GPU, memory utilization per page would be fantastic for side-by-side comparison of some feature.

A great example for this could be comparing two different implementations of a video player on separate windows. In this case one might better compared to another by 5% but we wouldn't know that with the current "state" abstraction.

There are many ways to achieve this in controlled environments, such as a webserver relaying the system metrics or via a chrome extension? For the sake of completeness of this specification, I propose to add low-level metrics either as a raw value or average of different periods. This could be permission restricted or maybe only allowed through chrome flags.

What are your thoughts on this?

Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/246 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 10 December 2023 04:31:33 UTC