9 ms·
Building a more power-efficient browser
- gtirloni 10y agoThat's pretty nice but the lack of plugins means I can't have LastPass/1Password, uBlock, etc, which kills it for me.
- JBiserkov 10y agoExtensions are coming with the anniversary update in a month or so, I'm excited!
- mey 10y agoI have a Surface Book, once Edge support EFF Privacy Badger, Edge will likely become my default browser.
- wlesieutre 10y agoSold my SP3, but do Firefox and Chrome both still feel wrong on the touchscreen, as far as scrolling and zooming go? I'd been using IE on that thing on account of nobody else being able to do it right.
- partiallypro 10y agoThey both still need work. Opera and Edge are probably the two best touch browsers for Windows, atm.
- mey 10y agoChrome has gotten better with touch and pen support, but Edge is still much cleaner. Zooming in things like Google Maps on Chrome still isn't great, but the biggest issue is the mouse cursor disappears regularly with Chrome and requires a force quit of Chrome (which is trying to run in the background) to fix. https://bugs.chromium.org/p/chromium/issues/detail?id=451965 https://bugs.chromium.org/p/chromium/issues/detail?id=451965
- stirner 10y agoIf you're looking for privacy, I would stay away from proprietary browsers (and operating systems, especially those with mandatory telemetry that are produced by an NSA PRISM corporation.)
- lewisl9029 10y agoAny idea what the development model is for Edge extensions? Would love to see them supporting the WebExtensions API [1] rather than roll out something proprietary. [1] https://wiki.mozilla.org/WebExtensions https://wiki.mozilla.org/WebExtensions
- Sanddancer 10y agoThey're going to be mostly chrome-style, with a tool to convert chrome extensions.
- adrianlmm 10y agohttps://imgur.com/g31emJv https://imgur.com/g31emJv I'm using extensions.
- sumitgt 10y agoYou can use Lastpass/Adblock in the insider versions. It will roll out to everyone soon.
- partiallypro 10y agoLastPass and AdblockPlus are already available to insiders. Still waiting on PrivacyBadger and Ghostery for my own preference.
- personjerry 10y agoBut how does it compare to Safari on Apple computers? AFAIK Safari is extremely power efficient.
- cptskippy 10y agoThat's really an Apples to Oranges comparison since Macs and PCs aren't comparable. Yes you could run Windows in BootCamp but it isn't tuned for that and is actually hampered. It would be like making a Surface Pro a hackintosh and using that as a basis for comparison.
- 542458 10y ago> you could run Windows in BootCamp but it isn't tuned for that and is actually hampered How is bootcamp'ed windows hampered? It works perfectly fine for me. In fact, it's better than many Windows laptops I've used because they almost all ship with so much bloatware on them.
- 1_2__3 10y agoThe HW has proprietary power management features that Windows cannot take advantage of. For the end user it's probably no big deal, but I think the commenter you replied to is right - power management is a delicate dance between hardware and software, and not all hardware is accessible from all software on every platform.
- derefr 10y ago"Can't" and "won't" are distinct; if Apple doesn't want to write e.g. Power Nap drivers for Windows, Microsoft could certainly do it. (I'm surprised they haven't; Windows has the incentive to work well everywhere much more than Macs have an incentive to run everything equally well.)
- untog 10y agoCould they? Do they have access to the Apple firmware documentation?
- fsiefken 10y agoThat's odd, a month ago I read a statement from Opera that they had the most power efficient browser. Which is the most powerefficient? http://www.windowscentral.com/opera-adds-power-saving-mode-its-desktop-web-browser http://www.windowscentral.com/opera-adds-power-saving-mode-i...
- sp332 10y agoThe Anniversary Update isn't out yet, so Opera's power-saving mode is probably the best you can get at the moment.
- kylealden 10y agoActually the tests in the post linked from the Edge blog we're on current stable bits; Brandon's post details additional improvements coming soon. In our testing we're considerably more efficient than Opera. Notably, Opera turned on their (off-by-default) ad blocker for their power efficiency measurements.
- kraftman 10y agoTrying to get a full days use out of my laptop I did some tests last week, Edge with adblock beats Opera with battery saver + adblock.
- talles 10y agoThe item 3 is very impressive. Anyone knows if the other major browsers test for such thing?
- MBCook 10y agoApple cares a ton about this for obvious reasons. They want to claim all day use on their products and having s very efficient web browser is a big part of it.
- mtgx 10y agoI wish they didn't do these tests on a Microsoft-made Surface Book...They should've taken a couple of other popular Windows 10 notebooks and maybe do the tests on those. Who knows how much of this difference is because of Edge itself (which is how well it would work on other notebooks, too), and how much it's the optimization they did for Edge for their own hardware.
- eightysix_four 10y agoThey say they test across hardware in the article - the Surface Book is the only one they pictured because it's an MS blog and an opportunity to advertise MS hardware. Besides, I'm pretty sure lowering the number of frames in an animation (among the other fixes/features they mention) is going to pretty much universally lower power requirements.
- kylealden 10y agoWe chose the Surface Book because it's instrumented with a chip that allows direct measurement of instantaneous power consumption, which most OEM devices don't have, and because it has lots of battery for a fun run-down video :)
- mtgx 10y agoSure, but am I supposed to believe that Edge doesn't get special optimizations on the Surface Book compared to on other devices?
- slyrus 10y agotl;dr probably: use an ad blocker
- lewisl9029 10y agoSome interesting optimizations in here, but I'm curious about this one in particular: > With the Anniversary Update, Microsoft Edge only executes background JavaScript timers once per second in background tabs. More importantly, these timers are coalesced with other work happening across Windows. Microsoft Edge doesn’t wake up the hardware to perform work. Instead we tag along with other work happening across the system, and then quickly yield, allowing the hardware to enter a low power state. Are there any implications for web techs (maybe like WebTorrent?) that do need to run JS constantly in the background?
- derefr 10y agoI'm not sure about Edge in particular, but on most platform runtimes "timers" are separate from IO-availability-triggered asynchronous events. When a WebRTC data connection signals its send channel has become unblocked/receive channel has data available, a handler will be called right then; there's no timer involved. Timers are just for things that have no relevant IO to control them, like animations.
- lewisl9029 10y agoThat was my understanding as well, but the improvement in CPU utilization they showed [0] seemed to be a bit too dramatic to be attributed solely to more infrequent timer ticks. I guess they must done some serious cherry-picking on the sites used for that benchmark. [0] https://winblogs.azureedge.net/win/2016/06/cpu-utilization-1024x327.png https://winblogs.azureedge.net/win/2016/06/cpu-utilization-1...
- tqkxzugoaupvwqr 10y agoIn Safari, which slows background JavaScript down or stops it altogether, music stops playing occasionally on Soundcloud when a song ends. The only option to prevent this is to make the Soundcloud tab the sole tab in the browser window. The window can be in the background but the tab is not treated as background tab because it is the active tab in the window.
- 10y ago
- acqq 10y agore: The reading mode button animation batery use improved Who needs the button animation at all? I like them not moving, every movement of something that's always on the same place is distracting. It's stunning on what they spend the energy of the management and the programmers, not only of the CPU's and GPU's of all of us. "We replaced the traditional XAML animation with a timed GPU transform, and now animate the contents through a viewport – relying entirely on the GPU to perform the work." Apparently XAML is a traditional way to animate GUI buttons there. Wow.
- kylealden 10y agoIt's a hint to users that reading mode may provide a better experience. When we introduced it, reading mode usage went up; without the (very subtle) animation, users weren't aware when the feature would be useful.
- acqq 10y agoStill it shows what's done just to make somebody's bonus (or just prestige in the meetings?) thanks to the change in the telemetry reports. Luckily both Safari and Firefox don't animate it. And if I'm not wrong, Safari was the first to have it, years ago, at the time Jobs was there. Never animated. Anyway, if the feature is useful, people will use it. If it's not, they won't. Not making the whole experience a "big ad" is an example of a taste. Microsoft managers however really like everything moving like in ads including the tiles in the "start" menu. Luckily they at least can be "unanimated," I hope that feature remains (but unluckily I believe I have to do it one by one).
- MBCook 10y agoPeople will use it, but only if they know it's there. I've met a ton of Safari users who have no idea what that thing is or even that it's there in the first place. They tend to love it after I pointed out to them. Microsoft is probably doing the right thing here.
- 10y ago
- ohitsdom 10y agoReally sad that so much engineering time from browser teams is still spent on flash. Can we just let this tech die already?
- MikusR 10y agoIf you can get all the flash developers on Kongregate switch.
- iamleppert 10y agoThey can start to compare themselves against Chrome when they are at least at feature parity with HTML5, CSS3, Ecmascript6, work cross-platform (not just on Microsoft-owned platforms), and have useable developer tools. I'm not sure I know of any professional web developers that don't view IE/Edge as an afterthought still. We build our applications in Chrome/FF, using Chrome/FF, and occasionally test to make sure the experiences don't totally suck in the others. They are also missing something like Electron, which is used a lot to build native cross-platform apps using web technologies. Power efficient is nice, but today's mobile phones have much lower hanging fruit -- you could run the CPU for days at 100% if you didn't care about the display/backlight, cellular radio, or GPS. If you don't believe me put your phone in airplane mode and play a video or game on loop with the brightness turned all the way down.
- ChrisLTD 10y agoDifferent strokes for different folks. I'd personally rather have a power efficient browser than one that implements every single experimental W3C spec. Now, I don't use Windows, but I've switched from Chrome to Safari because it's easier on my aging MacBook battery.
- girvo 10y ago> They are also missing something like Electron, which is used a lot to build native cross-platform apps using web technologies. While I am not a Windows developer in the slightest, this is sort of missing quite a bit. https://msdn.microsoft.com/en-us/windows/uwp/get-started/create-a-hello-world-app-js-universal https://msdn.microsoft.com/en-us/windows/uwp/get-started/cre... https://github.com/Microsoft/node-uwp https://github.com/Microsoft/node-uwp https://developer.microsoft.com/en-us/windows/develop/winjs https://developer.microsoft.com/en-us/windows/develop/winjs Microsoft support using JS to develop desktop applications using web-tech as a first-class citizen.
- mappu 10y ago>when they are at least at feature parity with HTML5, CSS3, Ecmascript6 Edge 14 has 90% on kangax, putting it on par with current Firefox 48. >work cross-platform (not just on Microsoft-owned platforms) Valid concern. >have useable developer tools Have you tried them recently? They've made massive improvements. >They are also missing something like Electron UWP for Windows 8+, HTA for older platforms.
- theseatoms 10y agoEven better, a more standards-efficient browser would reduce the economic resources allocated (by the market) towards ensuring site compatibility across the web, and therefore power.
- cheeze 10y agoAnother great way to save a ton of energy and bandwidth is to block ads. Glad to see that they are finally allowing ads. Been long enough. Still a mediocre browser though IMO. iamleppert nailed it on the head.
- zZorgz 10y agoGoogle did make battery life improvements by reducing wakes at least on the Mac in response to Safari performing better. Some interesting details are at https://plus.google.com/+PeterKasting/posts/GpL63A1K2TF https://plus.google.com/+PeterKasting/posts/GpL63A1K2TF Perhaps Edge will a nice competitive impact on the Windows side :P.
- MBCook 10y agoPerhaps they should have cared years ago when this problem was first clear. I don't know about on Windows but on OS X the difference has been massive for years and years.
- kylealden 10y agoIt's been true for a while on Windows, going back to IE9: https://blogs.msdn.microsoft.com/ie/2011/03/28/browser-power-consumptionleading-the-industry-with-internet-explorer-9/ https://blogs.msdn.microsoft.com/ie/2011/03/28/browser-power...
- ams6110 10y agoHonestly I'd be happy if they could stop Windows 10 from turning my laptop into a hair dryer randomly while it is otherwise entirely idle. The thing is sitting there doing nothing, suddenly the fan will start roaring and the CPU utilization spikes.
- Yhippa 10y agoSeriously why on Earth does this happen? Even if Edge ends up being more power-efficient the rest of the OS (Windows 10) is going to ensure that I will get no more than 3 hours of battery life on my laptop.
- throwaway13337 10y agoI'm not certain what causes it for you, but for me it was microsoft's antimalware scans. These are supposed to run only in 'idle' mode but for whatever reason were running while I was using my computer. What's worse is the automatic OS restarts that seem to also think I'm in idle mode.
- JoBrad 10y agoIf you're using Windows 10, have you set your active times?
- throwaway13337 10y agoI ended up turning off all that crap eventually. I cant remember what exactly I did but it was quite an adventure that involved registry edits and stopping services. Certainly not something that is made easy.
- rymate1234 10y agoIf you're on Pro or above you can set updates to download on demand
- JoBrad 10y ago
- deleted 10y ago[deleted]
- yitchelle 10y agoAs computing moves from a desktop centric function to a mobile centric function, a more power efficient software should be one of the top design requirements. This is a problem across all platforms. Imagine if your phone/laptop's full charge lasts for 1 week instead of 1 day.
- piyush_soni 10y agoDoesn't Chrome already do that Javascript timer slow down for background tabs?
- edrobap 10y agoPower-efficient 'desktop' browser? I mean one should be building that for mobile. People are more concerned about RAM usage on desktop.
- j45 10y agoWhy was Safari excluded? It's an interesting data point in the power-efficiency topic.
- ygra 10y agoDoesn't run on Windows. So you'd change more than the browser running on otherwise exactly the same machine, making a comparison difficult.
- j45 10y agoCould just as easily run windows natively on a mac for comparison on the same hardware. Also might be able to do a battery size to hours of browser use comparison. Or, comparing Microsoft with their hardware (Surface Pro's are great) vs a Mac laptop. At the end of the day, time in a browser.... is time in a browser to the end user.
- growthape 10y agoI believe they are too late to bring this up.
- tapirl 10y agoThe problem of Edge is its usability, it is full of annoying bugs and incomplete functions, just like the Windows 10. - a Windows 8 lover.