Closed Bug 1645298 Opened 4 years ago Closed 11 months ago

[meta] Measure and publish power usage

Categories

(Testing :: Performance, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

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.

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'

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.

Component: Untriaged → Performance
OS: Unspecified → All
Product: Firefox → Testing
Hardware: Unspecified → All
Blocks: power
Keywords: power
Whiteboard: [perftest:triage]
Flags: needinfo?(dave.hunt)
Whiteboard: [perftest:triage]

(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.

No longer blocks: power
Severity: -- → S3
Depends on: 1613203, 1519908, 1511347
Flags: needinfo?(dave.hunt)
Priority: -- → P3
Summary: QA: Test and publish power usage → [meta] Measure and publish power usage
Version: 77 Branch → unspecified
Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED

Thank you for the comment. Could you please point me to the site, where the power usage can be seen?

(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

Depends on: 1642486
You need to log in before you can comment on or make changes to this bug.