How To Enable TraceMonkey in Firefox 3.1?

by Keith Dsouza | Translate | Print
Monday, 17th Nov 2008 | Share




3.1 is pretty fast due to a new JavaScript engine called TraceMonkey being used, however many user would still encounter slowness while using Firefox 3.1, since TraceMonkey is not enabled by default.

In order to start using TraceMonkey you will need to enable it, which once again is not straightforward. Here are some simple steps to enable TraceMonkey in Firefox 3.1.

Step 1: Type about:config in the address bar

Step 2: If this is first time you are editing the configuration, agree to the to be careful dialog box. 

Step 3: In the filter field type: javascript.options.jit.content

Step 4: Change the boolean value from false to true by double clicking on it

Step 5: Restart your Firefox.

That’s it, enjoy a much more faster browsing with your Firefox after you have enabled TraceMonkey. Thanks for the tip Tim.

Liked this post? Have a Question? Comment and share your opinions and views with us

Get Regular Updates. Subscribe to Free RSS Feeds or Email Updates. Click to expand subscription options

3 Responses so far | Leave Your Comments

Comments are moderated. Please try and stay on topic. Please do not use abusive language, if you think there is a problem, please email the post author or use the contact us form to tell us about it.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  1. Tim Brazer
    November 17th, 2008 at 11:52 am #

    Your welcome, and thank you for the link. Much appreciated.

    8^)

    Reply to this comment

  2. joe
    December 10th, 2008 at 4:38 pm #

    I just downloaded the beta. Seems the default value is now true. So one does not need to do anything anymore, which is a good thing :-)

    Reply to this comment

  3. Butai Zhang
    December 23rd, 2008 at 6:19 am #

    Recently, I tried to build the tracemonkey JavaScript engine in Firefox instead of the whole browser. I compiled tracemonkey-debe29698839\js\src like this:

    Disable JIT:
    make -f Makefile.ref NANOJIT_ARCH=i386 DISABLE_JIT=1
    Enable JIT:
    make -f Makefile.ref NANOJIT_ARCH=i386 ENABLE_JIT=1
    (it’s ENABLE_JIT not DISABLE_JIT in this case, sorry for the mistake before)
    I used V8 and SunSpider benchmarks for tests. But it seemed that there was no difference between JIT ‘on’ and ‘off’ from the results. I guess maybe JIT could not be turned on in the above way. Do you know how to enable it?
    Thank you very much.

    Reply to this comment