![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I'm one of those people who tends to have open tabs in my browser. Like, *lots* of open tabs. Like, 50 or more.
I'm not sure if it's a recent change, but the past week I've been noticing a tendency for Chrome to start chewing 50% of my CPU (that is, two cores) when I'm not doing anything. When I investigate, it always seems to be that two tabs that are *not* currently on top are each eating 25% of CPU. It's not the same tabs each time, but it does always seem to be "heavy" pages that are likely to be full of Javascript. The problem usually goes away simply by finding and clicking on that tab, bringing it to the front. My best guess is that the Javascript on these pages is getting into some kind of frantic loop, doing something that isn't allowed while it's in the background, but that's just a guess.
Anybody have any concrete ideas what is happening here? I ask mostly out of idle curiosity, but also because there may be an anti-pattern that I want Querki to avoid...
I'm not sure if it's a recent change, but the past week I've been noticing a tendency for Chrome to start chewing 50% of my CPU (that is, two cores) when I'm not doing anything. When I investigate, it always seems to be that two tabs that are *not* currently on top are each eating 25% of CPU. It's not the same tabs each time, but it does always seem to be "heavy" pages that are likely to be full of Javascript. The problem usually goes away simply by finding and clicking on that tab, bringing it to the front. My best guess is that the Javascript on these pages is getting into some kind of frantic loop, doing something that isn't allowed while it's in the background, but that's just a guess.
Anybody have any concrete ideas what is happening here? I ask mostly out of idle curiosity, but also because there may be an anti-pattern that I want Querki to avoid...
(no subject)
Date: 2014-04-12 02:44 pm (UTC)(no subject)
Date: 2014-04-12 02:55 pm (UTC)(no subject)
Date: 2014-04-12 03:35 pm (UTC)(no subject)
Date: 2014-04-12 04:51 pm (UTC)(no subject)
Date: 2014-04-13 02:54 pm (UTC)(no subject)
Date: 2014-04-12 05:23 pm (UTC)(no subject)
Date: 2014-04-12 06:59 pm (UTC)I also have it happen that when I end what looks like the most rogue process in Task Manager, it either crashes Flash or crashes Chrome entirely.
I feel like Flash might be the culprit rather than Javascript but I don't have a lot of solid evidence for that guess. Sometimes there'll be a tab with a video clip in it somewhere and if I load the tab while looking at it, nothing happens, but if I load it in the background, the video starts playing itself unbidden. Not only annoying but it gives me a variety of concerns.
(no subject)
Date: 2014-04-12 07:22 pm (UTC)(no subject)
Date: 2014-04-13 02:56 pm (UTC)(no subject)
Date: 2014-04-12 10:29 pm (UTC)(no subject)
Date: 2014-04-13 12:44 am (UTC)(no subject)
Date: 2014-04-13 03:03 pm (UTC)