Tab Data (+Memory usage)

Author(s):



Features
* How many tabs are currently open
* How many tabs have been opened during this Firefox session
* How many tabs have been opened since addon installed
* Preference to toggle tab memory usage on/off
* Memory usage displayed on panel UI (JSON or Plain)
* Preference to include url on memory usage panel UI
* Prepend, append or disable tab memory usage in title
* Change tab title color if memory exceeds specified threshold
* Preference to set interval between memory usage collection
* Top 5 memory consumers drawn on graph
* Graph types include: Line, Bar, Radar and PolarArea
* Perform a garbage collection
* Resize panel UI

Monitoring memory
The addon uses the nsIMemoryReporterManager interface to extract memory statistics from Firefox, specifically the getReports() method.

For each process, data is parsed from the explicit tree (which represents all the memory allocated via explicit calls to allocation functions). More specifically, from the explicit/window-objects/ and explicit/add-ons/*/window-objects/ tree paths (which represents all JavaScript window objects) only if the leaf node contains an id and a url matching a currently open tab, otherwise the node is disregarded.

Measurements use bytes as their unit and the value of each leaf node is the sum of all its children, therefore the value displayed in a tab title corresponds to a child of explicit/window-objects/ or explicit/add-ons/*/window-objects/

Open source
https://github.com/bobbyrne01/tab-data-firefox

Demo
https://www.youtube.com/watch?v=HHdvKoZl5yA

Download files:

tab-data-0.1.1.1-signed.xpi
tab-data-0.2.0.1-signed.xpi
tab-data-0.2.1.1-signed.xpi
tab-data-0.2.2.1-signed.xpi
tab-data-0.2.3.1-signed.xpi
tab-data-0.2.4.1-signed.xpi
tab-data-0.2.6.1-signed.xpi
tab-data-0.2.7.1-signed.xpi
tab-data-0.3.0.1-signed.xpi
tab-data-0.3.1.1-signed.xpi
tab-data-0.3.2.1-signed.xpi
tab-data-0.3.3.1-signed.xpi
tab-data-0.3.4.1-signed.xpi
tab-data-0.3.5.1-signed.xpi
tab-data-0.3.6.1-signed.xpi
tab-data-0.4.1.1-signed.xpi
tab-data-0.4.2.1-signed.xpi
tab-data-0.4.3.1-signed.xpi
tab-data-0.4.4.1-signed.xpi
tab-data-0.4.5.1-signed.xpi
tab-data-0.5.0.1-signed.xpi
tab-data-0.5.10.1.xpi
tab-data-0.5.10.xpi
tab-data-0.5.2.1-signed.xpi
tab-data-0.5.3.1-signed.xpi
tab-data-0.5.4.1-signed.xpi
tab-data-0.5.5.1-signed.xpi
tab-data-0.5.6.xpi
tab-data-0.5.7.xpi
tab-data-0.5.8.xpi
tab-data-0.5.9.2.xpi


This page is part of the LegacyCollector website.
Disclaimer: All material on this site is property of their respective owners and available under
open licenses to the best of our knowledge. If you are an author and would like anything removed,
then please write an e-mail to legacy [at] collector dot org.