[meta] Measure and publish power usage
Categories
(Testing :: Performance, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: pmenzel+bugzilla.mozilla.org, Unassigned)
References
Details
(Keywords: meta, power)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
Steps to reproduce:
In bug 1644610 1 some comments talk about power usage. So I wanted to find out, how the different compositors behave.
Actual results:
I couldn’t find power usage information from the Mozilla Firefox test infrastructure.
Expected results:
Firefox’ power consumption should be tested and tracked – preferably for each commit. These results should be public and accessible.
Reporter | ||
Comment 1•5 years ago
|
||
In about:performance, Mozilla Firefox has a column Energy Impact already. Though it’s not clear, what the value means, and there is no unit.
With Linux on x86-devices, the utility turbostat can be used.
sudo ./turbostat --quiet -i 3 -s 'PkgWatt,CorWatt,GFXWatt,RAMWatt'
Comment 2•5 years ago
|
||
This would be really interesting. I have found bug 1613203, bug 1519908, bug 1511347, bug 922874 and marked them as dependency of the power meta bug.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
There is https://health.graphics/power.
Updated•5 years ago
|
Comment 4•5 years ago
|
||
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #3)
There is https://health.graphics/power.
This dashboard shows some of the power usage results we have. At this time all of our power usage measurements are taken on mobile, and are not run per-commit. We do have a long term plan to measure power on desktop, with potential for regression detection. The first piece of this is bug 1613203, however this is not currently a priority and we're unlikely to make significant progress on it this year.
I've made this a meta bug and removed the dependency on bug 962573 as it has been closed for almost 5 years.
Updated•1 years ago
|
Reporter | ||
Comment 5•1 years ago
|
||
Thank you for the comment. Could you please point me to the site, where the power usage can be seen?
Comment 6•1 years ago
|
||
(In reply to Paul Menzel from comment #5)
Thank you for the comment. Could you please point me to the site, where the power usage can be seen?
Hey Paul. We're using cpuTime as a proxy for power usage. The following graph shows the cpuTime for a cold load of a Google search results page for Linux, macOS, Windows, and Android: https://treeherder.mozilla.org/perfherder/graphs?highlightAlerts=0&highlightChangelogData=0&highlightCommonAlerts=0&series=autoland,4550624,1,13&series=autoland,4550782,1,13&series=autoland,4550499,1,13&series=autoland,4552240,1,13&timerange=1209600
Description
•