What is Firefox doing?

5

2

If one watches Firefox's CPU consumption, one can see it consuming large amounts of CPU even while it's not being interacted with. On lower-spec computers, this can cause performance problems that significantly affect other applications.

Is there any way to find out what Firefox is actually doing, so one can try and change some configuration options to reduce its CPU consumption?

It's common knowledge that addons can affect performance, but the install/uninstall dance isn't exactly efficient. Does anyone have a better method for finding something that could point towards what might be causing these issues without having to search behind the couch?

wfaulk

Posted 2009-10-15T13:14:44.813

Reputation: 5 692

I think there might be some good suggestions for hunting Firefox performance issues, so I made it community wiki. – wfaulk – 2009-10-15T14:54:31.347

Possible Duplicate: http://superuser.com/questions/24803/is-there-a-way-to-reduce-the-memory-usage-of-firefox

– EvilChookie – 2009-10-15T15:29:38.260

Answers

4

After opening Firefox, it might be updating bookmarked RSS feeds. Using, for example, the Live HTTP Headers add-on, you can see that and any other traffic, even though it might seem nothing is being downloaded.

(And as a side note: if it's slow then vacuuming the database that holds the bookmarks and visited sites might help.)

Arjan

Posted 2009-10-15T13:14:44.813

Reputation: 29 084

Updating RSS feeds? That will not cause even a blip on CPU use and certainly won't have Firefox consuming non-trivial CPU for hours on end. It is more likely running Javascript code continuously in the background even though its window(s) is/are not even visible. – john16384 – 2017-09-15T22:43:47.660

It hadn't occurred to me that there might be things downloaded in the background. Good idea about Live HTTP Headers. – wfaulk – 2009-10-15T14:22:36.407

@wfaulk: this can in fact be quite annoying if you want to debug something but did not yet run Firefox today ;-) (And, Firefox may be looking for software updates as well, and may be fetching a new list of scam domains.) – Arjan – 2009-10-15T14:31:47.547

I'd forgotten a bunch of "Live Bookmarks" deep in my bookmarks structure. Getting rid of those helped my immediate issue out a lot. – wfaulk – 2009-10-15T14:53:33.297

10

This is a bug in Flash.

I have no idea what has caused it (and written about it in previous answers). It is something about certain movies that when compiled, take up very high (sometimes maximum) amounts of CPU when in any web browser.

I have a few complete flash sites where the CPU never goes above 2% and then I can see a tiny advert in a square on a site and the CPU goes to 100%, so it must be a bug.

I advise you install Adblock plus as I find it very good and has nearly completely stopped this problem. If you want to get rid of all Flash, you can try Flashblock.

William Hilsum

Posted 2009-10-15T13:14:44.813

Reputation: 111 572

1i <3 Flashblock :) – quack quixote – 2009-10-15T15:15:16.163

NoScript will block Flash, too. – wfaulk – 2009-10-16T18:03:55.293

@wfaulk: but Flashblock gives me a nice shiny button to press if i actually want to see the flash... – quack quixote – 2009-10-19T13:40:11.870

2

Look at your pages. Flash and animated images seem to be driving my Firefox instances. A lot of pages that used to be static seem to be adding Flash.

The other indicator of CPU usage I look for is the speed the fans are running.

benc

Posted 2009-10-15T13:14:44.813

Reputation: 1 272

2

Not only flash but look at any potential add-ons you may have. These are not written by Firefox/Mozilla and are sometimes the source of such problems.

Rob

Posted 2009-10-15T13:14:44.813

Reputation: 153

Yes. And go through your plugins and deactivate what you don't need. You may think that many of these add-ons shouldn't do any harm, but you might err as I did. – dr0i – 2016-08-31T13:56:50.793

1

Great addon for reducing memory usage/leaks: AFOM

outsideblasts

Posted 2009-10-15T13:14:44.813

Reputation: 6 297