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.
It's literally 2017. Why are people still using javascript?
All this does is make the user wait for the page to load after focusing on the new tab, instead of loading it before focusing.
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
something that laptop, tablet, and smartphone owners can all relate.
Unless you mean that those people will all testify to the aforementioned something, you're missing either a "to" or a "to which" depending on how pedantic you want to be. Those people don't relate it; they relate to it. It is something they can relate to, or if you want to be fancy, it is something to which they can relate.
-Forrest Cameranesi, Geek of all Trades
"I am Sam. Sam I am. I do not like trolls, flames, or spam."
thats something an undergraduate highscool student could had come up with.. respect !
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."
Has anyone found a simple way to disable autoplay withing post-Chrome 55?
About time, I constantly have to be careful not to open too many tabs otherwise my linux desktop will freeze up.
Has anyone found a simple way to disable autoplay withing post-Chrome 55?
"Withing." Now enshrined in the English language for all time.
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
I just finished trying to figure out what website was causing "Web Content" (firefox) on my wife's machine to go nuts. Turns out it was the cards against humanity store.
I use some web-based IRC stuff, and I'd h ate to "pause" that since I frequently ask questions and step away or do something else before someone can answer. I mean, there's a lot of stupid shit on the web, but I can see some instances where I want background pages to continue to run.
Pretty sure Firefox already does something very similar to this. The mobile version does, anyway.
"Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
Because sometimes I'll listen to a podcast/music in a another tab while surfing in the visible table. This is my biggest beef with firefox on android, background tasks are stopped (at least my old POS tablet that asus stopped upgrading years ago). That's why I don't use it anymore and use a laptop.
HEY GOOGLE, give the users a choice what happens to background tabs, instead of being a fuckwit company and taking away choice.
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?
Too late... Withing (verb) to bind with withes. A withe is a willow twig. So I guess he wants to assult Chrome with a twig.
sometimes I'll listen to a podcast/music in a another tab
Then this does not affect you. From the featured article:
So once my computer isn't 100 times faster than required, I have to buy a new one?
No wonder 17 tabs of web comics were taking so long to load.
Am I the only one who sees this and realizes they are essentially in control of the damn internet now?
I thought they coded to a *standard* or something..... One which WE had a say in voting and discussing PRIOR to their involvement.
I'm glad Google controls the internet now. Must have seen how IE6 ruined our lives over a decade ago and realized that was worth the pain of building a browser.
A step in the right direction. Next they'll be limiting chome.exe processes to only 80% of installed RAM!
No, obviously the racist bastard just mis-typed whitening
Microsoft engineers would do the same for Windows..
Now I don't have to choose!
folks that want to abuse it will use a web socket or silent audio to hack around it and sites that weren't abusing it get throttled? I guess it'll help with some poorly optimized sites though...
Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
How ironic, posting this on slashdot when I find it's one of the worst CPU users to leave open thanks to allowing its ads to run. I want to do the right thing but the slashdot ads are surprisingly heavy CPU users. I find myself hitting escape as soon as the news articles have loaded to prevent the ads from loading since it always winds my laptop CPU fan up.
you know what the joke is?
it's that they keep adding background stuff and webrtc and PUSH notifications that cause js to run and shit.
and then they add this.
is this going to leave the push stuff working? OR is this a ploy to make us enable the bg push stuff? I mean.. just give the option to shut them off with a timer or not.
world was created 5 seconds before this post as it is.
Bleh, big whoop. I've been using the Great Suspender extension to do something similar for quite a while now. After x number of minutes, background tabs are suspended unless I exempt (whitelist) them. The tab is blanked, which frees up ram, and with a mouse click I can reload the page right where I was.
I've seen a few comments after something like this:
I use The Great Suspender extension for Chrome. It can kill tabs after a certain period of time and also delays loading them on a Chrome restart (essential for 100+ open tabs) -- you can also whitelist sites.
https://chrome.google.com/webs...
1% is still a huge amount because how absurdly fast our processors have become. Do you know how much you can do with 45MHz? Javascript is being dynamically translated into machine code, so you can still do a LOT. The only thing this addresses is sites that hog the CPU, not any of the nefarious bullshit that sites do to track you every 7 seconds.
Anons need not reply. Questions end with a question mark.
I apologize for not having the domain expertise to follow up on the WebSocket hack, but here's what I have for the other.
The "silent audio" you mention probably won't work. I started chasing links from the featured article, "Background tabs & offscreen frames: further plans":
"here" links to "Background Tabs in Chrome 57" stating:
So there'd have to be actual audio. I have not read Chromium's source code to determine whether it detects the further workaround of inaudibly high frequencies or inaudibly low volumes.
sometimes I'll listen to a podcast/music in a another tab while surfing in the visible table. This is my biggest beef with firefox on android, background tasks are stopped
You can blame that in part on streaming providers' freemium model of requiring a paid subscription for background listening, particularly YouTube.
I run hundreds of tabs, I use noscript to whitelist all the good stuff. Adservers almost always run stuff on thier own domain so its easy to blacklist. Now I just want this feature for firefox
And don't forget my epic cookie clicker run, which I've left in some background tab somewhere for well over a year now!
Is that literally just clicking a cookie over and over?
No. Cookie Clicker by Orteil is sort of like a distilled version of an RTS tech tree: you spend cookies to buy buildings and upgrades that produce cookies over time.
is going to fuck all kinds of software up.
Non sequitur: Your facts are uncoordinated.
The featured article states that background audio still plays.
A laptop connected to mains power through a transformer still draws power through the transformer, which still counts against your subscription to electric power. In addition, you may want other tasks running on your computer to have priority over ad exchanges' real-time bidding scripts.
This blocks ads the most efficient way in ANY browser APK Hosts File Engine 9.0++ SR-7 32/64-bit https://www.google.com/search?hl=en&source=hp&biw=&bih=&q=%22APK+Hosts+File+Engine%22+and+%22start64%22&btnG=Google+Search&gbv=1/
Ads & malware rob speed/security/privacy
Hosts add speed (via hardcodes/adblocks), security (vs. bad sites/malware/poisoned dns), reliability (vs. dns down), & anonymity (vs. dns requestlogs/trackers).
Less power/cpu/ram + IO use vs. DNS/routers/addons/antivirus + less security bugs/complexity & faster vs. addons/routers/remote dns!
Avoids DNSChangers in routers/IP settings & dns redirects (99.999% of ISP DNS != patched vs. it) + lightens DNS load & resolves faster from local system RAM!
* Via what u NATIVELY have built into the IP stack in FASTER kernelmode!
APK
P.S. - Safe https://www.virustotal.com/en/file/e01211ca36aa02e923f20adee0a3c4f5d5187dc65bdf1c997b3da3c2b0745425/analysis/1433430542/
You get what you pay for.
I use a different method of blocking ads: Firefox with Tracking Protection enabled globally. It blocks only those ad networks and exchanges known to track viewers from one site to another to display interest-based ads, but that's pretty much all of them. Running a tracking blocker rather than an ad blocker also provides plausible deniability against those who claim that ad blockers take food out of writers' children's mouths, as a publisher could in theory instead sell ad space directly to advertisers without such a network.
Other people use tools to configure an operating system's built-in DNS blacklist. But that doesn't work quite so well on mobile operating systems, where only the device manufacturer ordinarily has privileges to modify the device-wide DNS blacklist.
Javascript image transforms are still grossly inefficient compared to any native image tool.
Is it substantially less efficient than running a native image tool in a Vagrant box and using an X server on your machine to view the Vagrant box?
Free web hosting services insert advertisements into HTML documents hosted thereon. GeoCities died long ago, but Tripod appears to be still around.
You get what you pay for.
Or, in the case of a business limited by its finances, what its customers are willing to pay for.
So would it be a good idea to make a web application available without charge but put corresponding native applications behind a paywall?
Suspected malware, stay far, far away. Developer is so incompetent it takes damn near an hour to sort a couple MB hosts file. Wtf is it doing during all that time? Author clearly has psychological issues and a clear lack of understanding regarding many programming concepts? And what's with this 2000's era shareware, "Virus Total says it's safe!" shit? Why risk it over an open source solution? It has literally nothing to offer over an open alternative other than worse performance, a terrible UI that looks as if it was created by a child, and possibly nefarious code.
If you choose to respond to this post, positively or negatively make sure you do it anonymously or else you will be stalked and needlessly berated. If you respond positively, make sure you are okay with anything you say being quoted along with your username as an endorsement in his spam posts!
Suspected malware, stay far, far away. Developer is so incompetent it takes damn near an hour to sort a couple MB hosts file. Wtf is it doing during all that time? Author clearly has psychological issues and a clear lack of understanding regarding many programming concepts? And what's with this 2000's era shareware, "Virus Total says it's safe!" shit? Why risk it over an open source solution? It has literally nothing to offer over an open alternative other than worse performance, a terrible UI that looks as if it was created by a child, and possibly nefarious code.
If you choose to respond to this post, positively or negatively make sure you do it anonymously or else you will be stalked and needlessly berated. If you respond positively, make sure you are okay with anything you say being quoted along with your username as an endorsement in his spam posts!
So much for JSMESS, jor1k, v86, em-dosbox and friends...
I run Android 2.3.x still... Android ICS+ suspend all the browsers I tried(even the same ver/apk from a working android 2.3.x) after a few minutes when the screen was turned off.
I run security monitoring script/page and the newer androids just won't function with a browser interface... Sure someone could write a new app from scratch but it's easier, way way easier just to run legacy android or alternatives.
I've had lots of others techs/hobbyists say this isn't true but I challenged them to try the script and , yup suspended in all their devices.
I'd wager Google is just pushing this to force proprietary background technologies.
1% per tab? That's still 250% with 250 tabs open.
Dear Alphabet, please tell your petulant child to get a handle on its RAM usage. I'm tired of my PC grinding to a halt only to find that it has run out of physical RAM due to Chrome sucking down 7GB of it because it never purges viewed pages from RAM.
Since interactive Flash content has been/is being replaced with interactive javascript content, the processor issues that afftected Flash are now being recreated with javascript. At some point Adobe started to offload some of that CPU hog to the GPU in a similiar way CSS 3D transforms are deals with it.
IMHO all non active tabs should not be running any javascript processes in the background because it will not be long before someone figures out that you can run a virtual currency mining client in a webbrowser and you will be exploited without knowing it.
Do background tabs really need to eat a quarter-gig?
I once made a file uploader that used a new window/tab as a upload queue so people can queue up files to be uploaded in sequence in order to get a better experience than uploading 10-20-100 files simultaneously. That window/tab is supposed to be left alone in the background to do its thing while you go on the main site to queue up more uploads.
I was moving a "file" element from the main site to the queue window and then just looped and told blueimp/jQuery-File-Upload to upload each file in turn.
With this queued upload mechanism were built into browsers so I don't have to do crazy stuff like the one described.
"Everybody's naked underneath" -- The Doctor
I'm going to continue using the Host File Engine. Your software is well written, functional. The Host File Engine performs exactly as promised by mmell
his hosts program is actually pretty good by xenotransplant
I've never tried to belittle (APK's) work, I've flat out said it's good by BronsCon
take a look at the APK hosts file engine by SuperKendall
APK is kinda right. I've tried his hosts file generating software. It works by bmo
I like your host file system by Karmashock
I find your hosts file admirable by vel-ex-tech
his hosts tool is actually useful for those cases in which one does indeed want to locally block stuff outright while consuming minimum system resources by alexgieg
* Recommended & hosted by Malwarebytes' hpHosts!
APK
P.S.=> More coming... apk
See my subject: Data in my replies prove it's no malware. Malwarebytes personnel verified it's sourcecode as safe. /. peer testimony does also.
It takes 5-7 minutes on its default dataset to complete on an Intel CoreI7 4790k cpu to import/sort & deduplicate/resolve favorites for speed/assemble & save final hosts file. Your lies are astounding & see my subject.
It's not shareware. It's freeware. I don't "OpenSORES" the code as I do NOT want a Google EFast on my conscience (that backfired on Google's Chrome).
It's superior to any other program like it out there on many fronts (pure GUI ease of use, native 64-bit standalone multithreaded TRUE single non-interpreted executable that does hardcoded favorites properly reverse DNS resolved etc.) & your butthurt "opinion" is outnumbered by many orders of magnitude by actual registered /. users and malwarebytes own personnel who verified its sourcecode, both hosting AND recommending it.
APK
P.S.=> Get some preparation H for your butthurt! You have the psych issues you attempt to project onto me in constantly stalking by unidentifiable ac posts or unjustifiably downmoderating me... apk
Including many of Google's own services.
Wait, never mind, Google probably added in a whitelist exception to their own sites. Fuck all those other pleb sites, maybe they should be owned by Google instead of their own crappy developers that aren't Google.
This looks like a problem killed off with no solution. Very common of the Google-run web.
See HTML5 and killing Flash. HTML5 is hardly even close to how Flash works for most people, not to mention it is hilariously slow and inconsistently so.
That shitheap can barely run on modern hardware half the time due to lack of hardware acceleration.
You can force it, good luck telling than to most retards and illiterates. (or even half of Googlers, going by the Google Groups!)
A lack of a decent single-file vector animation standard to replace most uses of Flash, not to mention portable games, another huge use, are other problems caused by the termination of Flash by default.
Google just come in and shit on everyone without saying, "hey, flash is now disabled by default, do you want this? yes / no [why?]", nope, forcing it on everyone.
Now here they are killing off background timers that loads of notifications rely on, without a decent finalized replacement for it!
Oh, wait:
The good news is that background tabs playing audio or maintaining real-time connections like WebSockets or WebRTC won’t be affected by the 1% CPU usage limit.
Meanwhile at every single site now updates to play low-volume audio in loop to keep all those resources.
Causing even more problems than they started with.
Thanks, mobile devices. Fuck off already.
So, this means that I'll be able to leave slashdot open in a tab now? I know when I have left slashdot open in a tab by the speed of my CPU fan. :)
Edge saves you 30% of battery time b/c Windows does not insist on checking and notifying you to switch browser when you are using it.
If I am a web-developer (I am not), I would like to know the exact amount of processing power I am allowed to use when the tab of my page goes on the background, not a percentage. This way I can guarantee a uniform user experience. 1% could be a lot of processing power for some users, making the fix useless, but too little for others, which may lead to some functionalities to be disabled.
It's about time. I've been whining about this for 2 years now. To hell with winning the fastest script prize when you grind everything to a halt. (This is the fault of terrible testing mags/sites who weight shit wrongly.)
It has reached critical mass -- CNN.com takes forever due to massive advertising overlays and chatty stuff. You click the close box, irritated, and it takes 5s to close.
(-1: Post disagrees with my already-settled worldview) is not a valid mod option.
AMD-K6 3D (90 bogoids)
<=
Intel Core i7-4771 @ 3.50GHz (9940 bogoids) * 1%
<=
Via C3 Ezra (100 bogoids)
<=
Intel Pentium III Mobile 750MHz (103 bogoids)
<=
AMD Athlon 64 2000+ (116 bogoids)
<=
Intel Pentium 4 1300MHz (119 bogoids)
Wow, a couple of clown chips, and a searing indictment of Passmark, all rolled up together.
You can really see how Passmark should have been properly named Parkay Malarkey Spinmark.
Parkay Pentium 4, you are so busted.
[*] Cooking instructions: apply Parkay to soggy white bread, wait five minutes, LET THERE BE TOAST.
Source.
—
In the least surprise ever, turns out pajamas man-child develops tight-loop benchmark suites for the trade press. Normally. Except for this one time.
—
Setting: One unusual sunny morning.
Right at the crack of too-damn-early, there's a loud, surprising knock on the door. Curious, he shambles in sloppy slippers to the front door, where he's greeted by a slight man in a slick seersucker suit, who warmly extends a cold hand, and exclaims "my good man, you are just who we need".
"And who are you, again," asks pajamas man-child, with maximal crack of too-damn-early rhetorical sarcasm.
"I'm from Butler, Shine & White, department of Natural Born Unusual Suspects."
He lavishes upon his smooth introductory move a practiced pump on each of 'Butler', 'Shine', and 'White', Vaseline vise-grip apexing right on the 'na' in 'natural', relaxing on 'orn', then releasing precisely on second 'su'.
"Me?" pyjamas man-child replies meekly, meaty ham agog and drifting.
"True to form, true to form. Ewww, what's that sooty smell?"
"Shit, you caught me mid-spread. Must have left a large, hot lump."
"Well that's just the thing we'll be speaking about."
"What is?"
"Here's the thing. Here's the thing. We have it on good local authority that you're the king of shinola soliloquy."
"Local authority? Man, I'm so going to sue that pesky early-bird arborist."
"Don't be hasty. Let me tell you what we have in mind."
Pajamas man-child scratches behind his hairy pinna for a moment. "Sure, okay, fire away. Do tell me about this soliloquy shinola business."
"No, no, no! You've got that bass ackwards. Trust me, we've got all the soliloquy shinola money can buy. What we don't have ... yet ... is the natural born shinola soliloquy."
"Uh, if I catch your drift ... what I mean is ... uh ... you know ... the spread ... it answers back."
"For sure, we'll dub that in. Now how about let's discuss terms."
"Really?"
"In all high-margin, commodity seriousness."
"Okay then, come on in. Want some toast?"
"Uh, thanks but no thanks. Just in case, I brought us some fresh croissants." BS&W holds up large brown bag with hand-lettered accent marks on every vowel.
"Looks like you brought the entire continental buffet."
"Truth is, I'm here to see you spread."
"That's going to take a lot of spread."
"We'll use the big tub."
"Uh ... you just said 'tub' right? Not, uh, 'tooh' as in 'toothbr—'."
"—aw shucks, just between us, what's the big difference?"
"Uh, tubes come with a screw top ... or so I've heard."
"Yes, we did consider novel packaging, but it just doesn't say 'butter'."
You have to opt in / give permission, for the stuff you mention. So if you have background stuff going on in 2020, you have yourself to blame.
Because starting a war with Russia like the other party wanted is a better idea!
This will surely break the ability to use things like plex web-app or streaming media without plugins... hope it can be turned off for sites you wish to allow...
120 characters ought to be enough for anyone
Filtering vs. false positives takes most time in it. You wrote sort & uniq? No. You're INCOMPETENT chump! It is sort/dedup/filter/favorites assemble/assemble all...
APK
P.S.=> No wonder YOU have to "hide" like the little weasel you are, lol - you aren't capable of creating anything yourself... apk
I'm going to continue using the Host File Engine. Your software is well written, functional. The Host File Engine performs exactly as promised by mmell
his hosts program is actually pretty good by xenotransplant
I've never tried to belittle (APK's) work, I've flat out said it's good by BronsCon
take a look at the APK hosts file engine by SuperKendall
APK is kinda right. I've tried his hosts file generating software. It works by bmo
I like your host file system by Karmashock
I find your hosts file admirable by vel-ex-tech
his hosts tool is actually useful for those cases in which one does indeed want to locally block stuff outright while consuming minimum system resources by alexgieg
* Recommended & hosted by Malwarebytes' hpHosts!
APK
P.S.=> You've done better YOURSELF? Did you write sort/uniq? No to both - YOU = INCOMPETENT unidentifiable chump... apk
And there was much rejoicing.
What an incredibly good idea. Explorer so desperately needs this. - I know I'm an idiot for using Explorer - couldn't even really say why I ended up then kept using it. Should switch to Chrome - seems much better now than when I last tried it.. Used Netscape for decades until a year after it finally closed - then used Sea Monkey for a while, then somehow found myself using Explorer - despite all its flaws.
Fixing the resource stealing by malware adds and poorly written web sites would fix most of Explorers worst flaws..
Below the speed of light Special Relativity is one of the most accurate theories in physics - above the speed of light..