Performance/MemShrink/DMD: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 177: Line 177:
See <tt>get_about_memory.py --help</tt> for more options, but you probably won't need anything other than the defaults.
See <tt>get_about_memory.py --help</tt> for more options, but you probably won't need anything other than the defaults.


=== B2G Desktop Client ===
=== B2G Desktop Client (Linux) ===


==== Build ====
==== Build ====
Line 202: Line 202:
   $ killall -34 b2g
   $ killall -34 b2g


The dmd gzipped log is located at ''/tmp'' directory:
The dmd gzipped log is written to the <tt>/tmp</tt> directory, e.g.
 
<code>/tmp/dmd-1406557150-14443.txt.gz</code>.
  $ ls /tmp/dmd*
  /tmp/dmd-1406557150-14443.txt.gz
 
Unzip the dmd log and run the ''fix-linux-stack.pl'' script:
 
  $ gunzip /tmp/dmd-1406557150-14443.txt.gz
  $ mozilla-central/tools/rb/fix-linux-stack.pl /tmp/dmd-1406557150-14443.tx > dmd-b2g.txt


==== Post-process ====
==== Post-process ====


Unzip the file (with <tt>gunzip</tt>) if necessary, and then post-process the output file using whichever script is appropriate for your platform (e.g. see
Follow the [[#Post-process|Post-process instructions for desktop (Linux)]].
[[#Post-process|Post-processing instructions for Linux]] or
[[#Post-process_2|Post-processing instructions for Mac]]).


=== Fennec ===
=== Fennec ===
Confirmed users
1,345

edits

Navigation menu