News for hackers. Stuff that matters.
Re:Microsoft Has First Major Impact on Chrome by The_rationalist on Saturday August 17, 2019 @09:03PM (#20727520)
Microsoft most major chromium impact is to move input handling off the main thread which has been empirically a massive success on Edge.

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...

Re:Microsoft Has First Major Impact on Chrome by toast0 on Saturday August 17, 2019 @11:54PM (#20728145)
> Microsoft most major chromium impact is to move input handling off the main thread which has been empirically a massive success on Edge.

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.

Re:Microsoft Has First Major Impact on Chrome by magicalist on Saturday August 17, 2019 @10:52PM (#20727931)
> Microsoft most major chromium impact is to move input handling off the main thread which has been empirically a massive success on Edge.

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.

Re:Microsoft Has First Major Impact on Chrome by pdonis on Saturday August 17, 2019 @09:12PM (#20727562)
> Microsoft most major chromium impact is to move input handling off the main thread which has been empirically a massive success on Edge.

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.

Re:Microsoft Has First Major Impact on Chrome by cptskippy on Saturday August 17, 2019 @09:59PM (#20727753)
Neither the Chromium or nonChromium based versions of Edge behave like that. It seems like your work machine has something impeding performance.
Re:Microsoft Has First Major Impact on Chrome by stirlo on Sunday August 18, 2019 @04:19AM (#20728947)
The Chromium based edge has not been released outside of Insider/Beta previews currently so the GP’s experiences aren’t relevant to the current chromium based builds.
Re:Microsoft Has First Major Impact on Chrome by pdonis on Saturday August 17, 2019 @11:45PM (#20728107)
> It seems like your work machine has something impeding performance.

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.

Re:Microsoft Has First Major Impact on Chrome by SyneRyder on Sunday August 18, 2019 @05:01AM (#20729093)
I'm on a Lenovo X1 Thinkpad and Edge definitely doesn't feel slow to start here (it's instant), and while pages are maybe a bit slower to load than Firefox Quantum, I wouldn't call Edge slow. I can't compare against Chrome though - I don't use it because it chews through battery.

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....

Re:Microsoft Has First Major Impact on Chrome by Faark on Sunday August 18, 2019 @07:42AM (#20729632)
Not slow for me as well. It's my second browser beside FF and has the far better text to speech. Hard to compare performance, since my usage pattern differs widely between the two. But my biggest complaint would be tabs sometimes crash-and-reloading and some websites not rendering (bugs.chromium.org is an example).

Wonder how annoying the switch to chromium will be :/

Re:Microsoft Has First Major Impact on Chrome by ip26 on Sunday August 18, 2019 @12:50AM (#20728303)
FWIW I always thought of Edge as slow but just recently I picked up a Surface Go. It's not a fast computer... but somehow, Edge is pretty fast on this machine.
Re:Microsoft Has First Major Impact on Chrome by iofiiiiiiiii on Monday August 19, 2019 @02:28PM (#20740362)
Every single version of Edge I have used has had unexplainable random pauses and jitter in GUI responsiveness. If they do some "clever" side-thread processing and queueing of inputs, I can imagine where this comes from. It was the number 1 thing preventing me from giving Edge more than a cursory try.
Re:Microsoft Has First Major Impact on Chrome by jay_kyburz on Sunday August 18, 2019 @04:54AM (#20729064)
For my games, both Edge and IE9 have the fastest canvas rendering of all the browsers. Just saying.
Re:Microsoft Has First Major Impact on Chrome by awinder on Saturday August 17, 2019 @09:45PM (#20727693)
Edge with chromium is still on the insiders channel so if it’s from work systems you probably have only been on their engine (is/was it trident?)
Re:Microsoft Has First Major Impact on Chrome by ComputerGuru on Saturday August 17, 2019 @10:32PM (#20727855)
EdgeHtml + Chakra. Trident was the old IE one.
Re:Microsoft Has First Major Impact on Chrome by cptskippy on Saturday August 17, 2019 @09:55PM (#20727737)
Trident was IE's rendering engine.
Re:Microsoft Has First Major Impact on Chrome by The_rationalist on Saturday August 17, 2019 @09:51PM (#20727718)
Well your experience is a data point, maybe it was not bug free. Anyway I was referring to this https://www.google.fr/amp/s/blogs.windows.com/msedgedev/2017...
Re:Microsoft Has First Major Impact on Chrome by blackflame7000 on Saturday August 17, 2019 @09:10PM (#20727550)
If only Microsoft would make it so easy to move input handling off the main thread when writing programs for Windows. MFC was the bane of my existence starting out.
Re:Microsoft Has First Major Impact on Chrome by asveikau on Saturday August 17, 2019 @10:15PM (#20727804)
Be careful what you wish for. I have witnessed people in contexts like these, thinking that threads are magic performance enhancing pixie dust, and unable to reason through the subsequent bugs.
Re:Microsoft Has First Major Impact on Chrome by ComputerGuru on Saturday August 17, 2019 @10:34PM (#20727861)
async/await helps with that, but like with any other abstraction, if you use it without understanding how it works and what it actually does, it’s bound to come back and bite you at some point.
Re:Microsoft Has First Major Impact on Chrome by pragmatic on Saturday August 17, 2019 @10:44PM (#20727902)
How exactly?

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?

Re:Microsoft Has First Major Impact on Chrome by blackflame7000 on Saturday August 17, 2019 @11:30PM (#20728063)
Yea I’m also confused. You’re main thread should be able to run completely asynchronously from worker threads. With async, you are constantly hitting a memory barrier while the worker thread completes the promise and then the main thread draws the result. Ideally, the worker thread should be able to natively queue its task for non-blocking repaints.

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

Re:Microsoft Has First Major Impact on Chrome by manigandham on Sunday August 18, 2019 @10:30AM (#20730317)
async/await is about non-blocking, not IO specifically. You can use async to not block the current thread while IO completes, or use it not block while while some CPU work completes (in this case on another thread while the UI is unblocked).

It's similar to using an event loop architecture for all UI actions.

Re:Microsoft Has First Major Impact on Chrome by ComputerGuru on Sunday August 18, 2019 @02:47AM (#20728656)
I was specifically referring to input handling off the main thread, from GP’s original complaint. IO only.
Re:Microsoft Has First Major Impact on Chrome by pjmlp on Sunday August 18, 2019 @01:47AM (#20728474)
That had already done that back in Windows 8 introduction.

You just need to code with UWP and async/await.