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


Meta Releases OpenSource Podcast Generating Tool
28/11/2024

Meta has released an open source project that can be used to automatically convert a PDF file into a podcast. Meta says Notebook Llama can be considered an open-source version of Google's NotebookLM.

 [ ... ]



DuckDB And Hydra Partner To Get DuckDB Into PostgreSQL
11/11/2024

The offspring of that partnership is pg_duckdb, an extension that embeds the DuckDB engine into the PostgreSQL database, allowing it to handle analytical workloads.


More News

 

Last Updated ( Tuesday, 14 May 2013 )