Benchmarking advice: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "= Debug Builds = Debug builds (--enable-debug) and non-optimized builds (--disable-optimize) are '''much''' slower. Any performance metrics gathered by such builds are largel...")
 
(redirect to mdn)
Line 1: Line 1:
= Debug Builds =
#REDIRECT https://developer.mozilla.org/en-US/docs/Mozilla/Benchmarking
 
Debug builds (--enable-debug) and non-optimized builds (--disable-optimize) are '''much''' slower. Any performance metrics gathered by such builds are largely unrelated to the what the performance a release browser would be.
 
= Poisoning =
 
Many Firefox builds have a diagnostic tool that causes crashes to happen sooner and produce much more actionable information, but also slow down regular usage substantially. In particular, "GC poisoning" is used in all debug builds, and in optimized nightly builds (but not opt developer edition or beta builds). The poisoning can be disabled by setting the environment variable
 
    JSGC_DISABLE_POISONING=1
 
before starting the browser.

Revision as of 16:23, 16 August 2016