The new JIT is noticeably faster than the current one and is also more scalable
IonMonkey is now enabled by default in Firefox 18, which means it will be landing in the stable channel in January 2013.
"SpiderMonkey has a storied history of just-in-time compilers. Throughout all of them, however, we’ve been missing a key component you’d find in typical production compilers, like for Java or C++," Mozilla engineer David Anderson wrote.
An advantage of this approach is that Mozilla can modify and add new optimization algorithms to the engine and see how they work without modifying the other components, which means IonMonkey can get better, potentially a lot better over time. At any rate, it's easier to maintain and improve.
In the final step, the optimized IR gets converted into machine code which is essentially as fast as native code. Obviously, a new JIT isn't much of an improvement if it isn't actually faster. Luckily, it is.
In Mozilla's tests, IonMonkey is noticeably faster than the current JIT, depending on the benchmark. Mozilla's own Kraken benchmark shows a 26 percent improvement from Firefox 17 to Firefox 18 which is now in the Nightly channel.
In V8, Google's benchmark that is being replaced by Octane, Firefox 18 is 7 percent faster than Firefox 17, and 20 percent faster than Firefox 15. But it will get even faster as it will continue to see improvements now that the main framework is finalized.