News for hackers. Stuff that matters.
Re:Tab throttling and more performance improvements in Chrom... by Aardwolf on Tuesday November 17, 2020 @07:07PM (#25131580)
Didn't test (yet), but if they do, then what's the point of throttling background tabs?
Re:Tab throttling and more performance improvements in Chrom... by chhamilton on Wednesday November 18, 2020 @09:59AM (#25137456)
(Chromium dev here.)

We don't throttle workers (that could change, but we don't have firm plans here yet).

All things being equal, if you move complex work to workers we're happy because it frees up the main thread to handle input events, compositing, etc. Just because your tab is in the background doesn't mean your renderer process isn't sharing a main thread with a tab that is in the foreground, so in this case it can improve foreground tab performance.

Also, spreading a fixed amount of work across more cores and fewer wake-ups is actually more efficient from a power point of view (assuming the wake-ups are synchronized).

Re:Tab throttling and more performance improvements in Chrom... by simcop2387 on Tuesday November 17, 2020 @08:17PM (#25132073)
Service workers have restrictions on what they can do. They can't interact with thr dom and a few other things to keep them from causing rendering or other changes.