Microsoft Has First Major Impact on Chrome
thurrott.com
thurrott.com
This would allow chrome to have lower input lag than native GUIs if it's not already the case.
They are also working on many cool things, openXR support for example. They are improving chrome devtools (and their integration within vscode) They are doing many performance related fixes. And they are massively modernizing windows apis used by Chrome. E.g better performance for sensors through new windows 10 API. And the smart use of a Kalman filter for sensors.
They are also helping chromium to support windows ARM 64 bit
A real time view of what they are doing: https://chromium-review.googlesource.com/q/author:*.microsof...
Is that why sometimes Edge queues up UI actions while pages are loading? Having stop and back and whatnot wait to be processed until whatever stuck thing gets unstuck isn't exactly what I had in mind.
Do you mean this would be their most major impact? The link you posted below is for Edge 15 and not for chromium.
But in chromium the scheduler should already be handling input off the main thread when possible.
Otherwise agreed with the point that this article is weirdly focused on a single somewhat underwhelming change when there have already been a bunch of changes.
I'm confused by these statements (not just yours but in the article as well) about how Edge performs so well; I have not seen anything like that on the Windows 10 systems I am forced to use (for work). On those systems Edge takes forever to load, forever to open a new tab, and will randomly make the mouse cursor disappear when it's doing something it considers more important than responding to my input.
I thought it might be that, but it so happens we had to get a Windows 10 machine for home use for a particular purpose, and Edge on it is also slow (though perhaps not quite as slow as my work machine). Both are Dell laptops, so it's possible that Dell puts some extra OEM stuff in that hurts performance.
I think I have seen that disappearing mouse issue though, and mostly I use Edge when I double click on a PDF file and forget I don't have a PDF reader installed....
Wonder how annoying the switch to chromium will be :/
The use case for perf improvement with async/await is for IO based issues, eg instead of burning a thread waiting for IO to complete, use IO completiion ports (on winders) blah blah.
If your work is CPU bound you can't async/await it away magically.
Maybe I'm misunderstanding you?
Side note, this is why I’m a huge fan of Qt. They really did a fantastic job on building that framework for c++ to make it more safe
It's similar to using an event loop architecture for all UI actions.
You just need to code with UWP and async/await.
My laptop with 32GB of RAM running Chrome streaming twitch or YouTube is currently writing the stream to my SSD before rendering it?
That sounds like very low hanging fruit in terms of battery gains. Any arguments for why this has been like this?
All chrome does is burn thru your SSD write cycles.
Date: Sun, 18 Aug 2019 17:20:24 GMT
Expires: Sun, 18 Aug 2019 17:20:24 GMT
Additionally YT token DRM makes the resources change URL every time you refresh (encrypted key) and on top of that force expire in ~5 hours.I just tried random 1080@60 video and was able to rewind without refetching about 4 minutes back, more than ~6 minutes resulted in resetting progres bar (thin line showing already downloaded part) and re-downloading once again despite burning 100MB of it on my SSD for no apparent reason. I dont have to mention ~10GB of free ram just sitting there doing nothing.
which I understand means YouTube will still write to SSD...
Maybe we should introduce sone kind of certification for developers of publically available software?
Or point out the climate issues: the way you do this multiplied with the number of users who use it means x tons of CO2 released pr years in addition to annoying tye users.
To add insult to injury it also means your users will have to replace their hardware more frequently than otherwise necessary.
I'm only partially joking here.
Im so tired of machines that should be 500 - 1000 times more powerful or more than my old PC from the nineties still being slow, and I blame it mostly on antivirus (on Windows) as well as various web technologies that are misused (on all platforms).
Would love to see some data or citations behind these bold claims.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Impact is pretty good but not as significant as I had hoped.
Also, why save energy when you are on AC power most of the time?
I remember that watching a long video on Youtube in WinXP could take as much as 400 Mb of RAM. Are they going to increase memory consumption?
At some point software needs to stop catering for miniscule percentages of users.
~15% of steam users have 4gb or less [0]. And I doubt gaming PCs drag the total average down. So yeah, only a "miniscule percentages of users" caring about ram usage of browsers doesn't seem based in reality we still live in.
But Firefox drains my battery faster trying to run a VR simulation with an a realistic crypto mining rig and a USB hair dryer. My MBP's fans kick on full-blast when I start streaming video sin Firefox. And... worst Firefox crashes every time my computer goes to sleep now -- this has been happening for about the last month. When it comes back up I have to re-sign-in to about 20 sites... yes, password manager, but... with 2FA on most it's just tedious.
Like for a browser that respects privacy may fall to like for a browser that doesn't kill my battery.
As for crashing on sleep, that’s not normal behaviour. Maybe try refreshing Firefox via about:support? You’ll lose extensions etc but if nothing else it could help to narrow down the problem if it comes back.
When I open a new video on YouTube, it spikes to 160ish, then drops to 100, then eventually settles into the lows 60s.
In Chrome, it shows similar... spiking when the video starts to stream around 160, but then quickly drops down to the high 30s.
Keen on seeing what the changes bring! (=
I just did a reinstall. Hope it helps the crashing issue.
At the end of the day, I really don't trust Google. But... if it comes down to having an extra hour on my laptop it's a bit of a tough call.
Thanks!
> and as long as Chrome doesn't lock the memory range, the OS will swap it to disk anyway
Swapping in/out is random access and is very slow (< 1 Mb/sec) compared to linear reading/writing unless you have SSD.
Of course if you're actively using a program, it will swap out other processes, that's the whole idea.
I've noticed you've said this twice in this thread like it's a bad thing. This is exactly the behaviour I'd expect and want.
If I'm watching a video I'd want the system to do everything possible to make it as smooth as possible.
Firefox doesn't need all that much page/object cache, and videos usually seem to be streamed with transient buffering.
That's what drives me up a wall whenever people use the "free RAM is wasted RAM" argument; the assumption that RAM unused by your software is unused by me.
A good litmus test here is what you expect to happen if the machine reboots. For video, I think it's reasonable to lose all video cache, but I think downloads should be resumable. If it shouldn't be there on a reboot, use RAM. If it should, use disk.
There are certainly exceptions, but I think the general rule of thumb is useful.
And I imagine most systems programmers could define an api if they wanted to.
I think this is definitely a case where apps need to be antisocial and operating systems need to peg them in. The age of cooperative multitasking is over. Let the OS decide.
Repeat after me: high data locality reduces the amount of cache misses, which drastically reduces memory latency, and is only achievable through systematic memory usage conservativism.
Hardware has been around to selectively put banks into low power saving mode, but I've never heard of any commodity OS that supported anything like that. It'd require active organization of physical pages to take advantage of, if common controllers even supported it
Edit: Originally said "zero effect on memory usage", which makes very little sense!
My assumption here is that the media cache is mainly used for uninterrupted playback in case my network is briefly unavailable (e.g. when on a mobile network).
Therefore, it doesn't much matter to Google if it's Chrome, or a rebranded Chrome, or Safari, or Internet Explorer that keeps getting better, as long as something does and people use it.
They will continue to work on Chrome because they support more than the Windows platform. They will also not want to become dependent on Microsoft again, especially considering the rendering engine isn't that important for their mutual competition as the rest of the browser, such as extension and plug-in architectures are.
For now, I just manually pause all processes with Chrome in their name, and then un-pause them once I need a browser...
https://www.youtube.com/watch?v=b4taIpALfAo
Junk comment, sorry.