Context: I am currently working on patches designed to improve performance of some subsystems in Firefox Desktop by decreasing disk I/O, but I hope that they will also have an effect (hopefully beneficial) on power/battery usage. I'd like to confirm/infirm that hypothesis.
Measuring and collecting performance improvement is relatively easy, thanks to Telemetry. Measuring power usage, though? That looks harder. So, here are my questions: - do we already have a good way to measure power usage by some thread between two points in time? - if not, would there be interest in developing a library for this purpose ? Note that I don't even know if that's possible in userland. - do we already have a good way to measure total power usage by a xpcshell test, perhaps by interfacing with powertop or Intel Power Gadget? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform