Firefox 18 Beta - Introducing IonMonkey
Written by Ian Elliot   
Thursday, 29 November 2012

The biggest addition in Firefox 18 is  Mozilla’s new JavaScript JIT compiler called IonMonkey. This promises a  noticeable performance  improvement whenever Firefox is displaying Web apps, games, and other JavaScript-heavy pages.


IonMonkey provides a brand new architecture that allows for optimizations to be introduced into JavaScript JIT compilation. It differs from previous compilers by including an intermediate representation (IR) and has three steps:

  1. Translate JavaScript to an intermediate representation (IR).
  2. Run various algorithms to optimize the IR.
  3. Translate the final IR to machine code.

The optimizations include:

 

  • Loop-Invariant Code Motion (LICM), or moving instructions outside of loops when possible.
  • Sparse Global Value Numbering (GVN), a powerful form of redundant code elimination.
  • Linear Scan Register Allocation (LSRA), the register allocation scheme used in the HotSpot JVM (and until recently, LLVM).
  • Dead Code Elimination (DCE), removing unused instructions.
  • Range Analysis; eliminating bounds checks

The code generation works for x86 both 32bit and 64 bit and for ARM. 

The new design is similar to the techniques used in Chrome's Crankshaft JavaScript engine and should make the two similar in JavaScript performance.

 

Other new features in Firefox 18 are:

  • Retina Display Support for Mac users to make Firefox even sharper when watching movies, playing games and browsing the Web.

  • A facility to disable insecure content on HTTPS secure websites to maintain the privacy of your communication with the website. You can enable the feature in about:config.

  • Support for standard W3C touch events in addition to MozTouch events.

firefoxicon

More Information

Mozilla blog

Related Articles

Firefox 17 Available In Beta

Firefox 16 Has Developer Goodies

Firefox 16 Goes Back To The Command Line

Firefox 15 Is Go Along With A New 3D Game Demo

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Banner


GR00T Could Be The Robot You Have Always Wanted
27/03/2024

We may not have flying cars, but we could well soon have robots that match up to predictions for the 21st century. Nvidia has announced GR00T, a cleverly named project to build robots using foundation [ ... ]



Is PHP in Trouble?
10/04/2024

The April 2024 headline for the TIOBE Index, which ranks programming languages in terms of their popularity, reads, "Is PHP losing its mojo" asking this question because this month PHP has dropped out [ ... ]


More News

 

Last Updated ( Tuesday, 14 May 2013 )