News for hackers. Stuff that matters.
Re:Tab throttling and more performance improvements in Chrom... by ravenstine on Tuesday November 17, 2020 @04:07PM (#25129847)
This seems like a good idea because APIs already exist to detect whether a page has been backgrounded, so it should be simple enough for a JS app to cease creating timers when they aren't necessary. (Since I'm guessing a lot of timers get created for the purposes of visual reactivity)

https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi...

I wonder if this would effect Web Workers in the same way.

There are no comments on this comment yet.