Firefox extension to chase the memory usage and garbage collector activity
Перейти к файлу
Szabolcs Hubai 3447f425e0 Update tests to use test/assert module instead the deprecated TestRunner class (#222) 2015-11-09 23:30:58 +01:00
extension Update tests to use test/assert module instead the deprecated TestRunner class (#222) 2015-11-09 23:30:58 +01:00
.gitmodules Switch from 'cfx' to 'jpm' for packaging (#203) 2015-11-09 12:36:28 +01:00
.travis.yml Switch from 'cfx' to 'jpm' for packaging (#203) 2015-11-09 12:36:28 +01:00
History.md Release version 0.7 (#225) 2015-06-30 16:16:44 +02:00
README.md Added a usage section to the README (#178) 2013-09-11 09:51:03 +01:00
build.xml Add a 'loop.enabled' preference to the tests until ESR38 is supported (#240) 2015-11-09 23:20:16 +01:00

README.md

MemChaser

MemChaser is a Firefox extension which keeps track of the garbage collector activity and memory usage.

Continuous Integration

Build Status

Installation

You can install the currently released version of MemChaser by visiting the addon page and following the prompts.

Usage

MemChaser adds a widget to the addons bar, which dynamically displays the resident memory usage, the length of the last interactive GC and CC, and the time elapsed between the two most recent of these. For more information on each component simple hover over for a handy tooltip.

By clicking the widget you will activate a menu. From here you can trigger a CC or GC, or reduce the memory currently in use. You can also start/stop the logging from here, or open the log folder.

The logging uses the Statistics API to write full details of each GC.

Building

First you will need to clone the repository:

git clone https://github.com/mozilla/memchaser.git

You will then have to init the Add-ons SDK submodule.

git submodule update --init

To run tests against the extension:

ant test

To manually test the extension:

ant run

To specify the Firefox binary include -Dbinary=path/to/firefox on the command line.

To build simply run ant and the default build script/target will be invoked:

ant

You can override the build number used in the filename:

ant -Dbuild.number=1

To build for release (no build number in filename):

ant release

You can also use the Add-ons SDK directly using cfx:

cd addon-sdk
source bin/activate
cd ../extension
cfx docs