Chrome 57 Limits Background Tabs Usage To 1% Per CPU Core (bleepingcomputer.com)
An anonymous reader quotes a report from BleepingComputer: Starting with Chrome 57, released last week, Google has put a muzzle on the amount of resources background tabs can use. According to Google engineers, Chrome 57 will temporarily delay a background tab's JavaScript timers if that tab is using more than 1% of a CPU core. Further, all background timers are suspended automatically after five minutes on mobile devices. The delay/suspension will halt resource consumption and cut down on battery usage, something that laptop, tablet, and smartphone owners can all relate. Google hinted in late January that it would limit JavaScript timers in background tabs, but nobody expected it to happen as soon as last week's Chrome release. By 2020, Google hopes to pause JavaScript operations in all background pages.
Web developers who write javascript that just keeps chewing up resources are why we have to resort to this.... You have no one to blame but yourselves for abusing the privilege of having active content that just sucks resources to get more add revenue....
I know some of you developers actually think about such stuff and care about the end user's experience, but there are a few of you out there that are messing stuff up for all of us, so now the browser has to throttle you.. Thank You for nothing (from the rest of us).
"File to fit, pound to insert, paint to match" - Aircraft Maintenance 101
I used to wish browsers would do this. But now I know that there are good uses for background processes, even though limiting them to 1% seems fine to me.
For example, slack changes the tab title and icon when an event happens, like a new message. Gmail updates the title to show how many messages you have. These are reasonable use cases.
"First they came for the slanderers and i said nothing."
I'm using facebook and google hangouts to communicate with people. Since I don't want to install applications, I use them as browser tabs. Does this mean I will no longer get noticed when someone messages me?
Avantgarde Hebrew science fiction
Because making a web app in JavaScript is cheaper than making five native apps, one each for Windows, macOS, GNU/Linux, iOS, and Android.
Is Microsoft going to stop spamming me with notifications to use Edge on my laptop because my battery will last 30% longer when ever I open Chrome?
sometimes I'll listen to a podcast/music in a another tab
Then this does not affect you. From the featured article:
But nobody does that. They make ordinary webpages that use 500KB of javascript code to make something that looks (and feels) like a cheap 40KB HTML page based on iframes from back in 1996. Big static posters with HD stock images, 3 lines of text, and a download/email button. Why do these pages need javascript at all? What is javascript for?!
A step in the right direction. Next they'll be limiting chome.exe processes to only 80% of installed RAM!
Ads and trackers
Now I just want this feature for firefox
It's not quite the same, but opening about:config and setting privacy.trackingprotection.enabled to true will blacklist a lot of abusive adtech.
the whole internet runs on javascript, just saying
The web isn't the internet, just saying.
Do background tabs really need to eat a quarter-gig?