4

I'm looking for something a bit like Windows Task Manager or top from Linux, (or heck even like the Task Manager in Google Chrome) that can monitor how many resources (CPU and hard disk drive usage) that various pages or plugins in Firefox are using up.

Is there something native to Firefox that can show this information? Or perhaps a plugin that will reveal the resources being used by the other plugins?

2 Answers 2

3

Most of the functionality needed to do this is built in.

To view resource usage of pages

see about:memory. This gives you an interactive tree of memory allocations (click on an item to see more details; mouse over to see a detailed explanation of what each entry means):

  • Under explicit/layout you will see the memory used directly to display each tab.
  • Under explicit/js you will see the memory used by each Javascript "compartment". Note that there is a separate heap or compartment for each domain (like http://superuser.com) rather than page. These numbers represent how much memory scripts running on those pages use in total.

For CPU usage of Javascript running on pages, try the Firebug extension's Javascript profiler. Unfortunately I don't know of any support for profiling CPU usage of page layout.

To view resource usage of plugins

use your operating system's process viewer/system monitor/task manager. Firefox now runs plugins in separate processes, so by looking at each process's memory/CPU utilization you know the performance of the corresponding plugin.

On Linux, the plugin processes are called plugin-container. Look at the command line of each process to see which plugin it represents.

When a plugin crashes (or you kill its process), you'll see a message on the open page(s) containing instances of the crashed plugin.

3
  • This is a great answer thank you! Firefox on Windows also appears to have plugin-container.exe
    – leeand00
    Jun 6, 2012 at 12:19
  • 1
    What about CPU usage?
    – leeand00
    Jun 6, 2012 at 12:20
  • 1
    @leeand00: Firebug can profile Javascript (updated answer) Jun 6, 2012 at 20:03
2

If you go to about:memory, Firefox will give you a detailed report of its current memory usage. about:memory?verbose is even more detailed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .