Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

How to programmatically access Firefox power consumption metrics?

  • Pa përgjigje
  • 0 e kanë hasur këtë problem
more options

I'm trying to measure power consumption in Firefox using automation. My goal is to get power consumption metrics for specific webpage loads.

What I've tried: 1. Using Puppeteer with Firefox's profiler:

  - Enabled power profiling preferences
  - Used the Profiler CDP commands
  - Got profile data but no power metrics

I know Firefox DevTools has power profiling capabilities in the Performance panel, but I need to access this programmatically. Is there a way to: 1. Access the same power metrics that Firefox's Performance panel shows? 2. Get power consumption data through Firefox's debugging protocol or any other API? 3. Enable and collect power profiling data in an automated way?

Any guidance on the correct approach would be greatly appreciated!

I'm trying to measure power consumption in Firefox using automation. My goal is to get power consumption metrics for specific webpage loads. What I've tried: 1. Using Puppeteer with Firefox's profiler: - Enabled power profiling preferences - Used the Profiler CDP commands - Got profile data but no power metrics I know Firefox DevTools has power profiling capabilities in the Performance panel, but I need to access this programmatically. Is there a way to: 1. Access the same power metrics that Firefox's Performance panel shows? 2. Get power consumption data through Firefox's debugging protocol or any other API? 3. Enable and collect power profiling data in an automated way? Any guidance on the correct approach would be greatly appreciated!

Duhet të bëni hyrjen te llogaria juaj që t’i përgjigjeni postimeve. Ju lutemi, filloni me një pyetje të re, nëse nuk keni ende një llogari.