Performance:Leak Tools: Difference between revisions

Jump to navigation Jump to search
→‎Trace-malloc: Explaining how to use trace-malloc.
(→‎Trace-malloc: Explaining how to use trace-malloc.)
Line 162: Line 162:


Trace malloc slows down the browser a bit (maybe 3x?) at runtime on Linux and Mac, but by a lot more on Windows.  However, the stacks on Linux and Mac require [[#Post-processing_of_stack_traces|post-processing]].
Trace malloc slows down the browser a bit (maybe 3x?) at runtime on Linux and Mac, but by a lot more on Windows.  However, the stacks on Linux and Mac require [[#Post-processing_of_stack_traces|post-processing]].
Generate a trace-malloc dump by building with <code>ac_add_options --enable-trace-malloc</code> and then passing <code>--trace-malloc FILENAME</code> when you start Firefox.


<!--
<!--
Line 170: Line 172:
'''Update (2006-06-13): The code integrating the Boehm GC in Mozilla has not been tested for a number of years and is unlikely to work anymore.'''
'''Update (2006-06-13): The code integrating the Boehm GC in Mozilla has not been tested for a number of years and is unlikely to work anymore.'''
-->
-->
==== Purify ====
==== Purify ====


187

edits

Navigation menu