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.

espbook

 

Comments




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

Banner


PHP 8.4 Adds Property Hooks
26/11/2024

PHP 8.4 is available with improvements including property hooks, asymmetric visibility, and an updated DOM API.



Gifts For Geeks 2024
22/11/2024

Are you ready for Thanksgiving, when overeating remorse and a surfeit of being thankful causes the unsettling thought that there are only four weeks till the Xmas break? So here is a mix of weird [ ... ]


More News

 

Last Updated ( Tuesday, 14 May 2013 )