Building a more power-efficient browser
blogs.windows.com
blogs.windows.com
What's worse is the automatic OS restarts that seem to also think I'm in idle mode.
http://www.wintips.org/how-to-fix-svchost-exe-netsvcs-memory...
I dunno what the hell Microsoft are playing at, but I'm in the process of switching all my computers to Linux.
However, this causes a problem in that every time you want to actually update, Windows Update may rebuild the entire "installed updates" database from scratch which can take hours on a heavily patched machine.
(The database is, fascinatingly, the whole 1 GB big).
https://news.ycombinator.com/item?id=11267019
wuaueng.dll!CUpdatesToPruneList::AddSupersedenceInfoIfNeeded
The bug is obviously in highly inefficient traversal through the existing info about the updates, which didn't degrade to being so obviously bad at the time when there was just a small number of the updates.I've used Microsoft tools to diagnose that, and I'm not the only one who has found it,
http://www.dslreports.com/forum/r30535980-WIN7-MS-updates-ta...
so the same info is available to Microsoft, but they obviously don't want to fix it.
On my machine it takes some 4 hours using 100% CPU of one core. If there are only 100 millions of such machines, and if it's just 40 Watt hours used during these 4 hours, it gives some 4 Gigawatt hours wasted every month in the world due to that particular bad code (If I calculated it right, over one year, it's a rough equivalent of the total energy use of 1500 Germans or 500 US citizens.)
Doing nothing, except mabye mining a fuckton of data about you and sending it to Microsoft.
And take note of point 1 and 2.
http://superuser.com/questions/635837/high-cpu-load-from-sys...
In my desktop it was causing it to rev up the fan when it was idle for a few minutes.
But it literally rapes my HDD while updating(anytime it wants) or it's AV scanning disk(and you can't turn it off)
It makes my desktops unusable.
> 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?
[0] https://winblogs.azureedge.net/win/2016/06/cpu-utilization-1...
To keep a tab active pin it, those tabs will be immune from that.
And not for power consumption but simply for browser speed!
Perhaps Edge will a nice competitive impact on the Windows side :P.
Notably, Opera turned on their (off-by-default) ad blocker for their power efficiency measurements.
I'd been using IE on that thing on account of nobody else being able to do it right.
https://bugs.chromium.org/p/chromium/issues/detail?id=451965
I'm using extensions.
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.
Apple does not. Base line Windows power management (generic Intel drivers, etc) is probably good enough for them.
* USB 3
* USB-C on the MacBook (Retina, 12-inch, Early 2015) and later
* Thunderbolt
* Built-in SD or SDXC card slot
* Built-in or USB Apple SuperDrive
* Your Apple keyboard, trackpad, and mouse
Assuming BootCamp were just a hyper-visor exposing the underlying hardware or a HAL, why are custom drivers necessary for those things?
It is worth noting that some of the changes go really deep in the architecture and are not easy to pull off. I think lack of system level focus on low battery and the need to do deep changes in the OS are the reasons for the considerable lateness of Microsoft on this front.
Imagine if your phone/laptop's full charge lasts for 1 week instead of 1 day.
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.
- a Windows 8 lover.
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.
Still a mediocre browser though IMO. iamleppert nailed it on the head.
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.
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).
They tend to love it after I pointed out to them. Microsoft is probably doing the right thing here.
If they didn't like it they'd stop using it after the first click and the numbers wouldn't appear to go up more than a single little bump. Clearly it helps people to have that cue there.
Stop making UIs consisting entirely of vague mystery-meat-navigation-buttons-some-that-don't-even-look-like-buttons and none of these problems of discoverability would exist.
Usage did not change.
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.
Now, I don't use Windows, but I've switched from Chrome to Safari because it's easier on my aging MacBook battery.
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/cre...
https://github.com/Microsoft/node-uwp
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.
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.
But MS, like Apple with Safari, are developing a browser that is useful for users, not necessarily for developers, at least initially.
And by "don't totally suck" you apparently don't mean battery life? Having my wife switch from Chrome to Safari on her macbook was the best thing that ever happened to her battery [1] - it literally can make the difference between needing a power adapter or getting a full days work done.
[1] http://www.theverge.com/2015/4/10/8381447/chrome-macbook-bat...
edited for formatting
This post is not about those subjects, and for the normal user, who uses his laptop unplugged, this is much more important than a browser being available on the Mac and Windows, or developer tools, etc.
It's pretty clear you don't like Microsoft, which is fine...but your opinion added nothing to the discussion, all things considered.