Jump to content

Firefox 3.1 to get faster JavaScript engine


Recommended Posts

Firefox is about to get even faster. TraceMonkey, an evolution of Firefox's SpiderMonkey JavaScript engine, is now in Firefox Trunk test builds; it "uses a new kind of Just-In-Time (JIT) compiler to boost JS performance by an order of magnitude or more". You can see benchmarks showing it's impressive speed improvements and read more details here: http://weblogs.mozillazine.org/roadmap/arc...pt_lightsp.html

The new features are not enabled by default, those running Trunk builds need to enable them in about:config if they want to test this. Simply filter for jit, and toggle to "true" the two prefs that brings up: javascript.options.jit.chrome and javascript.options.jit.content. Bugs still need to be worked out, though, some users have reported crashes using this.

I, personally, crashed on this forum until I disabled the theme I was using; no problems now. The speed improvement is striking.

Link to comment
Share on other sites

Found I can still make it crash - try to open Organize Bookmarks and boom!

A whole lotta bugs have been filed on this feature, looks like Firefox 3.1 may have to be delayed to get this sorted out.

You'll love it, Tarun; it's really fast, and it crashes really fast, too! :gold:

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • Administrator

I jumped on with Firefox 3.1 Beta 1 nightly build 2. I just had to try it. :jump:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1 (.NET CLR 3.5.30729) - Build ID: 20081007144708

I wanted to try it out so I went to a site to test Javascript that I had also tried on Firefox 3.0.x.

My best results:

3.0.x: 294ms

3.1 Beta 1*: 71ms

*That is with javascript.options.jit.chrome and javascript.options.jit.content both enabled. :jump:

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...