JavaScript:TraceMonkey: Difference between revisions

(Undo revision 107789 by Jesse (Talk))
Line 3: Line 3:


== Playing with TraceMonkey ==
== Playing with TraceMonkey ==
TraceMonkey is currently available for testing in [ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/ nightly builds]. You will need to go take the following steps to turn it on:
TraceMonkey is currently available and ''enabled by default'' for testing in [ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/ nightly builds]. If you want to modify the types of JavaScript that are executed using TraceMonkey:
* open a new tab
* open a new tab
* type '''about:config''' and hit enter
* type '''about:config''' and hit enter
* read the warning and heed its wisdom
* read the warning and heed its wisdom
* enter '''jit''' in the filter field
* enter '''jit''' in the filter field
* double click on '''javascript.options.jit.chrome''' and '''javascript.options.jit.content''' to change their values to '''true'''
* change the value of '''javascript.options.jit.content''' to enable (true) and disable (false) TraceMonkey for JavaScript in web content
* change the value of '''javascript.options.jit.chrome'''to enable (true) and disable (false) TraceMonkey for JavaScript in XUL/chrome


If you experience instability, please [http://bugzilla.mozilla.org file a bug] and reference any crash report ID that might be relevant.
If you experience instability, please [http://bugzilla.mozilla.org file a bug] and reference any crash report ID that might be relevant.
Confirmed users, Bureaucrats and Sysops emeriti
3,599

edits