Re: Measuring power usage

2013-11-06 Thread Frank Wein
David Rajchenbach-Teller wrote: > 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 th

Re: Measuring power usage

2013-11-06 Thread Benoit Girard
You might be interested in bug 769431 where Intel modified power gadget to export symbols that the profiler can use to sample the power state and correlate it with execution. On Tue, Nov 5, 2013 at 11:02 AM, jmaher wrote: > I am working on using intel power gadget to measure the power usage. >

Re: Measuring power usage

2013-11-05 Thread David Rajchenbach-Teller
On 11/5/13 4:49 PM, Andreas Gal wrote: > If you can access the remaining battery status of a large enough > population over time it should be easy to use telemetry to measure > this pre and post patch. > > Andreas > > Sent from Mobile. As it turns out, the platform currently offers an abstract n

Re: Measuring power usage

2013-11-05 Thread Gabriele Svelto
Hi David, On 05/11/2013 16:46, David Rajchenbach-Teller wrote: 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'

Re: Measuring power usage

2013-11-05 Thread jmaher
I am working on using intel power gadget to measure the power usage. Currently this is on windows with an idle test. Our test slaves have older CPUs which do not support the intel power gadget. ___ dev-platform mailing list dev-platform@lists.mozilla.

Re: Measuring power usage

2013-11-05 Thread David Rajchenbach-Teller
Good point. Just accessing the battery level is rather imprecise, but Telemetry + large numbers should help us see trends. If we go that way, this probably doesn't deserve a new library, but possibly a few utility functions in e.g. Telemetry or TelemetryStopwatch. Cheers, David On 11/5/13 4:49

Re: Measuring power usage

2013-11-05 Thread Andreas Gal
If you can access the remaining battery status of a large enough population over time it should be easy to use telemetry to measure this pre and post patch. Andreas Sent from Mobile. > On Nov 5, 2013, at 16:46, David Rajchenbach-Teller > wrote: > > Context: I am currently working on patches de