How To Enable TraceMonkey in Firefox 3.1?

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


Share How To Enable TraceMonkey in Firefox 3.1? on Twitter Share How To Enable TraceMonkey in Firefox 3.1? on Facebook Save How To Enable TraceMonkey in Firefox 3.1? To Delicious Favorites Stumble How To Enable TraceMonkey in Firefox 3.1? Share How To Enable TraceMonkey in Firefox 3.1? on Digg Get Instant Updates as RSS Feeds from Techie Buzz

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.



Share

3 Responses so far | Share Your Opinions!

  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

Leave a Comment

Note: We discourage users from using keywords in their names while posting comments, most of them get caught by spam, also it really would be more fruitful in knowing people who comment by their real name, rather than by using a name no one relates to. In future we reserve the right to delete comments from users using a name other than their own.

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>

send comment from Comment Client