On Saturday, November 1, 2014 7:48:11 PM UTC, Andreas Gal wrote: > I am using Nightly on Yosemite and power use is pretty atrocious. The battery > menu tags Firefox Nightly as a significant battery hog, and I can confirm > this from the user experience perspective as well. My battery time is a > fraction of using Chrome for the same tasks. > > Not every kind of content seems to trigger this behavior, but Google Sheets > in Firefox seems to be a pretty reliable way to drain my battery quickly.
Andreas, I used energia (https://github.com/mozilla/energia) to quickly compare the power usage of Nightly vs Chrome on Google Sheets (https://docs.google.com/spreadsheet/ccc?key=0ArS97F99-BEZdF81LXlRNnRJTWphQ3pZcTYxT3NSRXc#gid=0 and other similar sheets) and even though the usage of FF is greater than Chrome, it's not dramatically so, i.e.: Chrome: 2.8W +- 0.03 (confidence interval of the mean) Nightly: 3.1 +- 0.22 The numbers comprehend CPU and GPU usage. Do you have by chance a particular sheet that triggers the issue which you could share? I am going to dig deeper first thing in the morning; there is some suspicious high variance in the measurements for FF. On Monday, November 3, 2014 5:33:11 PM UTC, Martin Thomson wrote: > On 02/11/14 18:13, Mike Hoye wrote: > > "We found that blocking on a slow connection used consistently more > > power than idle. This could be solely due to network traffic, but > > network traffic was very periodic (1 packet in and 1 packet out per > > second), thus much of the work could likely be attributed to the > > animated spinner. The difference was not very large, but it was > > statistically significant." > > That suggests that it could be a result of us not having QUIC and Google > Sheets not being friendly to TCP-based usages. We tracked down many power bugs on Desktop earlier this year using our power profiler, see Bug 948528, Bug 962573, http://robertovitillo.com/2014/01/21/a-matter-of-energy/ and https://github.com/mozilla/energia. Many of those bugs are intimately related to the layout stack and still need to be addressed. David, do you have an ETA for some of them, e.g. Bug 962594? In particular Facebook, which practically appears in any top 10 list, had (has?) a serious power bug that caused FF to render a hidden spinning wheel. Because of this single bug any power benchmark performed by the press, which was likely going to be based on the top N most visited sites on the web, was likely going to be skewed significantly to our loss. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform