Labs/Memory Profiler: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(modified developer information to point to SDK docs)
 
Line 13: Line 13:
You can access the tool by going to the "Tools" menu and selecting "Memory Profiler".
You can access the tool by going to the "Tools" menu and selecting "Memory Profiler".


= Getting The Source =
= Development =


Just clone the HG repository:
The binary component for the memory profiler has been moved to the [https://jetpack.mozillalabs.com/sdk/latest/docs/ Jetpack SDK]; Markdown documentation for it can be found here:


   http://hg.mozilla.org/users/avarma_mozilla.com/memory-profiler/
   http://hg.mozilla.org/labs/jetpack-sdk/file/tip/packages/nsjetpack/docs/nsjetpack.md
 
And then read the [http://hg.mozilla.org/users/avarma_mozilla.com/memory-profiler/file/tip/README.txt README].
 
= Understanding the Source =
 
For information on how to create your own custom memory profiling routines, check out the [[Labs/Jetpack/Binary_Components#Memory_Profiling|Jetpack Binary Components API]].


See Atul's blog post entitled [http://www.toolness.com/wp/?p=604 Fun with SpiderMonkey] for information on how the memory profiler works.
See Atul's blog post entitled [http://www.toolness.com/wp/?p=604 Fun with SpiderMonkey] for information on how the memory profiler works.

Latest revision as of 22:08, 22 April 2010

Memory Profiler is an experimental Labs project that attempts to make debugging memory use in web pages easier.

For more information about the tool's design and rationale, see Atul's blog post entitled Web Application Memory Profiling, Take Two.

3988687880_7073e5b7e8_o.png

Installation and Use

The Firefox extension is available here:

 https://addons.mozilla.org/en-US/firefox/addon/14666/

You can access the tool by going to the "Tools" menu and selecting "Memory Profiler".

Development

The binary component for the memory profiler has been moved to the Jetpack SDK; Markdown documentation for it can be found here:

 http://hg.mozilla.org/labs/jetpack-sdk/file/tip/packages/nsjetpack/docs/nsjetpack.md

See Atul's blog post entitled Fun with SpiderMonkey for information on how the memory profiler works.