Use the Windows Energy Meter Interface to record power use data in profiles
Categories
(Core :: Gecko Profiler, task, P3)
Tracking
()
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(5 files)
https://docs.microsoft.com/en-us/windows-hardware/drivers/powermeter/energy-meter-interface
On Windows 11 this reports RAPL data from the CPU (similar to what we were getting previously with Intel Power Gadget).
On Windows 10, this will only report something if the machine has hardware power meters (eg. the Surface Book 1 device).
Example profile: https://share.firefox.dev/3N0tcT5
There's no way to display this data yet, but profile.counters
from the console shows that the counters exist, and have data.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D149890
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D149653
Comment 5•2 years ago
|
||
Backed out for failing condprof at /test_ext_geckoProfiler_schema.js
Failure log: https://treeherder.mozilla.org/logviewer?job_id=382902529&repo=autoland&lineNumber=3014
Backout: https://hg.mozilla.org/integration/autoland/rev/1e1a96a0e4f35905c4a7c559827b8631b8f45c04
There is also the tier2 build bustage initially tracked here bug 1777265
Assignee | ||
Comment 6•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
https://hg.mozilla.org/mozilla-central/rev/31f0ab2e90f8
https://hg.mozilla.org/mozilla-central/rev/4c9f15465211
https://hg.mozilla.org/mozilla-central/rev/185ab81e5f51
https://hg.mozilla.org/mozilla-central/rev/0839b2f7ae02
Comment 9•2 years ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: New power saving feature
[Affects Firefox for Android]: Not yet
[Suggested wording]: The Firefox profiler can analyze power usage of a website (Apple M1 and Windows 11 only)
[Links (documentation, blog post, etc)]: example: https://share.firefox.dev/3nNc2xST
I will add a screenshot in the next comment
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
thank you! This has been added to 104 relnotes. The image is pending PR https://github.com/mozilla/bedrock/pull/12042, but the above link (https://share.firefox.dev/3nNc2xST) throws a 404.
Comment 12•2 years ago
|
||
If you have the screenshot, this is good enough :)
Description
•