Hi, this is Alexander. I'm an engineer on Chromium team working on scheduling and on background tab throttling in particular. Firstly, I want to make clear that we are not shipping this in Chrome 56. We have enabled throttling as an experiment in beta channel to measure impact and collect feedback from web devs. We will aim to ship it in Chrome 57, subject to further feedback. In response to concerns voiced we will d…
If a page signals it's desire to opt-out of aggressive throttling, the user should be notified of this, perhaps by an icon in the tab, so that we can either close it or force the throttling. I'm a laptop user and CPU-hungry background tabs are a huge drain on my battery life. If something is opting out of or otherwise excluded from throttling, I want to know about it. Thanks.
Chrome will aggressively throttle background tabs
331–340 of 403 posts
Re: Chrome will aggressively throttle background tabs
#332Re: Chrome will aggressively throttle background tabs
#333Earlier quoted context omitted.
If you happen to use React, I built a React component that helps you manage this! :) Hopefully it helps a bit! It also reports whether or not a user is idle, such that you can reduce cpu usage during that as well. https://github.com/Skilgarriff/react-user-focus
i don't know anything about React, but why can't react itself try to manage this?
In general, the mantra for people who find this tough to fix should be, "Why didn't I use MVC, what a cretin I was!"
Re: Chrome will aggressively throttle background tabs
#334I like the change as a general idea but there obviously needs to be a manual override. Like, I don't want websites to access my camera without permission but obviously I want to allow some websites to do that. A similar permission could be used here and is perfectly backwards compatible: 1. a tab exceeds its quota and throttling kicks in; 2. you visit the tab to check why it stopped working; 3. you get a permission p…
Or just ask for the permission when you first open the page, the same way uber asks for your location. www.foobar.com wants to: "Run in the background unthrottled"
Re: Chrome will aggressively throttle background tabs
#335Personally speaking (That means I'm speaking for myself), I could absolutely care less about the plight of the developer who wants their page to run stuff in the background. If you really think I should be running something in the background, you should ask Chrome for that permission so Chrome can ask me. If I say yes, then feel free, but no website should have this for free.
> no website should have this for free. Why not? Your applications on the desktop can run background tasks without your approval. Your phone's applications on iOS and Android can run background tasks without your approval. The web has tons of web applications some of which more complex than stand alone apps. So why wouldn't they be afforded the same? Asking would be a bit of a UX nightmare. You'll have so few users e…
Re: Chrome will aggressively throttle background tabs
#336Earlier quoted context omitted.
While I've only seen it once, when I looked at it upon learning of its existence- the Chrome 'task manager' might show CPU usage of each tab. When I look at all the chrome.exe processes in the Windows Task Manager, the CPU usage is clear, but I can never tell which process is which tab. Something like a glowing tab coloration animation would be an unobtrusive informational thing, that would work even when tabs are pi…
No: the Chrome task manager shows activity per process, not per tab; processes typically have many many tabs lumped together (which undermines the security advantage, particularly as commonly-opened tabs like e-mail tend to end up having at least one instance open in every single process). You can't use this feature to figure out which tabs are using CPU unless you are barely using the web browser in the first place.
Re: Chrome will aggressively throttle background tabs
#337Earlier quoted context omitted.
If you have to deal with a lot of task switching, blindly closing browser tabs would be a huge waste of time. You can individually check each tab before closing the ones you don't need, but that takes time and cognitive load. So I leave them open until the computer can't handle it.
Finding the right tab is much harder if you got a whole bunch of them. I always close them, most aren't needed for a long time. But if I need stuff I closed I just hit 'reopen closed tab' a few times.
I typically have 100 or so tabs in Firefox. I did get over 600 once, but that's too many ;-)
Re: Chrome will aggressively throttle background tabs
#338Earlier quoted context omitted.
This is design issue, inefficient data structures, lazy programming etc. Im affraid tabs taking 2MB(two megabytes for a page with javascript, not 20, not 200, two) like in the good old Opera 12.16 wont come back :(
I agree, the Presto engine was (and still is) super efficient. We may see something similar come out of the Vivaldi project which is headed by folk who led the Opera <= v12 development who know very well what was lost when Opera moved to Chromium based web engine.
Case in point fresh Vivaldi on startup makes 4 connections to Google just to say hi, and will keep sending google delicious pieces of data throughout the day, not to mention hardcoded google DNS in case yours is too slow. How about spamming my local network with chromecast UDP garbage? or enumerating shares on startup? WTF would you even do that?
Ps I use Vivaldi :/.
Re: Chrome will aggressively throttle background tabs
#339Earlier quoted context omitted.
I'd use Pinning a lot more if it didn't shrink the tab down to its Favicon size. Wish it would also prevent you from closing the tab.
+1. I just now found out about it. Tried it, saw the tab reduced to a favicon, and will probably never use it till that's fixed. Especially with how a Gmail Tab blinks when I get a hangout message.
Re: Chrome will aggressively throttle background tabs
#340Earlier quoted context omitted.
Tree Style Tabs is a nice idea, but I found the balance of aesthetic and speed for me to be with pressing Ctrl+L and then inputting a few letters relating to the open tab I seek, then just pressing Enter and switching to the tab.
I don't understand why this seems to only be a thing in Firefox - it's awesome.