sitespeedio / browsertime

Measure and Optimize Web Performance
https://www.sitespeed.io/documentation/browsertime/
Apache License 2.0
602 stars 137 forks source link

Firefox on Android always runs power usage tests #2073

Open soulgalore opened 7 months ago

soulgalore commented 7 months ago

When I run tests on Firefox on Android I always get a log line like: CPU / Power usage: 9180

The power usage should be turned off by default, so I think there's a bug.

gmierz commented 5 months ago

@soulgalore I think this is expected since we always gather the CPU data: https://github.com/sitespeedio/browsertime/blob/3daa78cc6b9cd1590c3f9b57422b2feddd58cc13/lib/firefox/webdriver/firefox.js#L215-L225

Maybe the log output needs to be reworded to only mention that it's CPU usage?

soulgalore commented 5 months ago

Let me check that, I think I reworded issue wrong. I think we always use root on Android when we test using Firefox and I was thinking we needed root to get that metric but I was wrong. Let me test again next week see what's going on.