Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A new tool: mach power

14 views
Skip to first unread message

Nicholas Nethercote

unread,
Sep 17, 2015, 9:32:32 PM9/17/15
to dev-...@lists.mozilla.org
Hi,

I just landed a new mach command called |mach power|. It combines the
most useful top-level measurements from tools/power/rapl and
powermetrics, and produces these automatically for Firefox, Chrome and
Safari. Unfortunately it's Mac-only, because powermetrics is Mac-only.

I've used this tool in numerous bugs to do initial comparisons between
browsers on a particular workload, e.g.
https://bugzilla.mozilla.org/show_bug.cgi?id=1190719#c17. It's a great
starting place because it immediately gives you an idea how the
browsers compare in terms of the most important measurements: power,
CPU usage, GPU usage, and wakeups.

The bug was https://bugzilla.mozilla.org/show_bug.cgi?id=1204787. The
documentation is at
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/powermetrics#mach_power.

Nick
0 new messages