52
edits
(→TraceMonkey Tasks: Add verifier task.) |
(Mark as Outdated) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{OutdatedSpiderMonkey}} | |||
== About TraceMonkey == | == About TraceMonkey == | ||
TraceMonkey adds native‐code compilation to Mozilla’s | TraceMonkey adds native‐code compilation to Mozilla’s JavaScript® engine (known as “SpiderMonkey”). It is based on a technique developed at UC Irvine called [http://www.ics.uci.edu/%7Efranz/Site/pubs-pdf/ICS-TR-06-16.pdf “trace trees”], and building on code and ideas shared with the Tamarin Tracing project. The net result is a massive speed increase both in the browser chrome and Web‐page content. | ||
== Playing with TraceMonkey == | == Playing with TraceMonkey == | ||
TraceMonkey is currently available and ''enabled by default'' | TraceMonkey is currently available and ''enabled by default'' in stable 32-bit Firefox 3.5+ and [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; | ||
Line 11: | Line 13: | ||
* change the value of “'''javascript.options.jit.chrome'''” to enable (true) and disable (false) TraceMonkey for JavaScript in XUL/chrome. | * 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. As of 2009, of the stable builds only the 32-bit versions of Firefox have TraceMonkey available (use nightly builds for 64-bit support). | ||
== Hacking on TraceMonkey == | == Hacking on TraceMonkey == | ||
Line 48: | Line 50: | ||
== Security Review == | == Security Review == | ||
[[TraceMonkeySecurityReviewForm]] | [[TraceMonkeySecurityReviewForm]] | ||
Javascript is a trademark or registered trademark of Sun Microsystems, Inc. in | |||
the U.S. and other countries. |
edits