Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use-case: Current process contribution #8

Open
alexcyn opened this issue May 13, 2021 · 2 comments
Open

Use-case: Current process contribution #8

alexcyn opened this issue May 13, 2021 · 2 comments

Comments

@alexcyn
Copy link

alexcyn commented May 13, 2021

It would be very helpful to know current browser process (tab) contribution into the total CPU load.
For example, I have a powerful machine, I am in the video conference, and also I run chromium build. CPU becomes 100% busy, but it does not make sense to reduce number of video feeds in the conference, as this will not save any visible CPU amount - most CPU is taken by build process.
In the video conference code I would analyze current process contribution, and if it is less than lets say 50%, I would avoid any CPU saving activities.

@kenchris kenchris added the enhancement New feature or request label Feb 15, 2022
@kenchris kenchris changed the title Current process contribution Use-case: Current process contribution Feb 15, 2022
@kenchris kenchris added the V2 label Aug 24, 2022
@kenchris
Copy link
Contributor

kenchris commented Aug 24, 2022

We have gotten this exact request a few times now from people in the web community and other stakeholders.

CPU stall pressure is currently representing global pressure, which covers many of the initial use-cases, but developers have expressed interest in getting the stall pressure for certain processes of interest, which allows the ability to understand performance impact of changes and doing A/B testing in the wild.

The interesting processes are the following:

  • main thread (measure you own JS impact)
  • compositor thread
  • capture device + thread
  • webrtc thread (maybe the same as capture thread)

Additionally, if the use is decoding using WebCodec on a thread, we might need combined measurements for hardware decoder and thread

@kenchris kenchris removed the enhancement New feature or request label Aug 24, 2022
@kenchris kenchris added per-process and removed V2 labels Apr 24, 2024
@arskama
Copy link
Contributor

arskama commented Apr 24, 2024

We have started to evaluate a possible implementation on Chromium, this work will continue in Q2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants