News for hackers. Stuff that matters.
Re:Multiprocess Firefox by suprgeek on Saturday May 16, 2015 @08:42PM (#9558199)
Please please test battery life impact while implementing the Multi-process stuff.

I had to move away from Chrome just on the battery life issue. I suspect (but cannot conclusively prove) that the multi-process crap that Chrome has just drains your battery much faster. And yes I am perfectly aware of the supposed fix in Chrome for the battery killing bug.

Re:Multiprocess Firefox by _wmd on Saturday May 16, 2015 @09:21PM (#9558297)
There's no inherent reason why multiprocess would have a significant impact on energy, it just adds a relatively small amount of extra context switching and marshalling to what is already a huge pile of the same (your desktop OS). When the system is idle, or a page is rendered, the difference shouldn't be measurable.
Re:Multiprocess Firefox by nitrogen on Sunday May 17, 2015 @03:54AM (#9559124)
Hypothetically, 50 processes all running separate unsynchronized wakeup timers and event loops could bring the processor out of sleep 50x more often than a single process.
Re:Multiprocess Firefox by frik on Sunday May 17, 2015 @05:13AM (#9559323)
I assume all graphics data is sent from the tab sub-processes to the main process (Chrome and similar in IE9-11). Multiprocess is different in Firefox, to get full multiprocess (per tab) we maybe have to wait a bit longer, for a Servo based browser.

Launching processes is a bit expensive especially on WinNT series (up to Win10), but ultimately it's the way to go ("sandbox" = sub-processes with minimum permissions) - even Servo with its Rust language use it as certain parts like the JavaScript engine are still C/C++ based (come from Firefox/gecko) for the near future and can crash.

Re:Multiprocess Firefox by Infinitesimus on Saturday May 16, 2015 @11:05PM (#9558522)
If you were on windows and on chrome before 39 (I think), the battery bug was often because chrome forcibly set the system clock tick rate higher than (arguably) necessary. Should be fixed now though at least according to the bug tracker
Re:Multiprocess Firefox by jordanthoms on Sunday May 17, 2015 @01:54AM (#9558892)
They made some battery improvements on Windows, but it's still a huge battery hog on Mac.
Re:Multiprocess Firefox by superdude on Saturday May 16, 2015 @10:37PM (#9558459)
Safari is multi-process and it has the best battery life.
Re:Multiprocess Firefox by justsid on Sunday May 17, 2015 @10:11AM (#9560077)
Safari makes use of a kernel feature that allows giving some leeway for when the process should be woken up again (eg. from a timer source). That way the kernel can put the CPU to sleep until it can schedule as many processes as possible at once to wake up and perform their work. That way the CPU doesn’t have to wake up all the time to wake up a single process and let it do its work.
Re:Multiprocess Firefox by mmebane on Sunday May 17, 2015 @09:51PM (#9562544)
Windows and Linux should be able to do that, too [1] - any idea if Chrome or Firefox make use of it?

[1]: http://en.wikipedia.org/wiki/Timer_coalescing

Re:Multiprocess Firefox by Alphasite_ on Sunday May 17, 2015 @04:26AM (#9559191)
It is a bit of a memory hog as well, but yes, it's battery life is just fantastic.
Re:Multiprocess Firefox by devsquid on Saturday May 16, 2015 @09:11PM (#9558272)
Yea I am with you, I love Chrome and I love that its basically my little mini xplat OS. That of course comes with a price of being a battery hog, if you don't want to use all the benefits Google is cramming into their browser, then I can see the allure of FF. I imagine that represents a fair number of FireFox's users as well. I imagine they won't abandon you friend. :)
Re:Multiprocess Firefox by k_bx on Sunday May 17, 2015 @07:35AM (#9559638)
Battery life on FireFox is good if you use "lazy tabs" feature. If you need more battery, you just restart the browser and it only loads the tabs you open, so the old ones won't have JS working.
Re:Multiprocess Firefox by bla2 on Saturday May 16, 2015 @09:49PM (#9558361)
Do you have data on Firefox using less battery? I thought the order for energy usage was Safari < Chrome < Firefox (but can't find anything to back that up either).