Closed Bug 730518 Opened 12 years ago Closed 12 years ago

(Zombie Compartments) Track high cpu usage of addons, compartments, etc....

Categories

(Firefox :: Untriaged, defect)

10 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 674779

People

(Reporter: aardvark2zzz, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 20120215223356

Steps to reproduce:

Most zombie bugs concentrate on memory usage. How about also tracking CPU usage of: addons, compartments, JS, and etc...... 

I notice when browsing with many tabs that the CPU usage goes up a lot along with high memory usage even though most of the web pages are static and FF is not the top window.

Also, during these times, physical memory usage is extremely active going up and down.

This is probably not a simple job to resolve but this would give another tool to help find zombie compartments.  This would also help find addons that are CPU hogs; probably also due to heavy memory consumption.

I would be willing to try a build that would use this tool.
> Most zombie bugs concentrate on memory usage. How about also tracking CPU
> usage of: addons, compartments, JS, and etc...... 

That's because "zombie compartment" is by definition a specific kind of memory leak.

> This would also help find addons
> that are CPU hogs; probably also due to heavy memory consumption.

See bug 674779, and maybe also bug 400120 and bug 515352.

Also note that zombie compartments are something of a special case, because they are always indicate a memory leak and are never acceptable.  In contrast, Firefox itself, websites, and add-ons need to use CPU legitimately.  This means it's a lot harder to decide if high CPU usage is unreasonable.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.