Performance/MemShrink/DMD: Difference between revisions

Line 21: Line 21:
   ac_add_options --enable-profiling
   ac_add_options --enable-profiling


Build with that mozconfig.  Optimized builds should work fine.  DMD enables jemalloc, and does not work in combination with <code>--enable-trace-malloc</code>.
Build with that mozconfig.


If you don't want to do the build yourself, you can get try server to do it for you.  For a desktop build, modify the appropriate in-tree mozconfig file before pushing.  E.g. for an optimized Linux64 build, modify <code>browser/config/mozconfigs/linux64/common-opt</code> before pushing.  On Windows you'll also need to add this line to build/mozconfig.common:
If you don't want to do the build yourself, you can get try server to do it for you.  For a desktop build, modify the appropriate in-tree mozconfig file before pushing.  E.g. for an optimized Linux64 build, modify <code>browser/config/mozconfigs/linux64/common-opt</code> before pushing.  On Windows you'll also need to add this line to build/mozconfig.common:
Line 28: Line 28:


(and note that below the "Run" instructions for Windows try builds differ from the instructions for local Windows builds).
(and note that below the "Run" instructions for Windows try builds differ from the instructions for local Windows builds).
''Note: If you build with clang earlier than r171782 on Linux, you may not get any stack traces;  see {{bug|826962}}.  As of Jan 16, 2013, r171782 is not part of any Clang release, so you have to build LLVM/clang from scratch to get it.  GCC works fine.''


=== B2G device builds ===
=== B2G device builds ===
Confirmed users
1,345

edits