Mozilla Working On IonMonkey For Firefox 18 To Juice Up JavaScript Execution

First thing that needs to be understood is the importance of JavaScript for the proper operation of any browser, be it Mozilla’s Firefox or Google’s Chrome. This due to the heavy dependence on JavaScript to run online applications and online games like FarmVille and major websites like Facebook or Google Docs to name a few. The speed of a browser is thus directly dependent on how fast the browser is capable of executing JavaScripts.

JavaScripts were executed one line at a time by earlier versions of browsers but new a method called just-in-time compiler or JIT is what is used now to crunch JavaScripts. This method basically, converts the JavaScript programs into a program that can be executed by the processor natively, thus speeding up the process considerably. The earlier versions of JITs are JaegerMonkey and TraceMonkey and IonMonkey is Mozilla’s latest version of JIT.

Mozilla today, in its blog, announced that it has released IonMonkey JIT in the beta version of Firefox as 18 nightly builds, currently available for developers. Mozilla hopes the new JIT will improve browsing speeds in Firefox 18 by a significant amount and latest benchmarks reports seem promising. Benchmark tools such as Mozilla’s Kraken and Google’s V8 show that Firefox 18 with IonMonkey JIT is 28 percent and 20 percent faster than Firefox 15 respectively.

IonMonkey is targeted at long-running applications (we fall back to JägerMonkey for very short ones). I ran the Kraken and Google V8 benchmarks on my desktop (a Mac Pro running Windows 7 Professional). On the Kraken benchmark, Firefox 17 runs in 2602ms, whereas Firefox 18 runs in 1921ms, making for roughly a 26% performance improvement.”, said David Anderson. “For the graph, I converted these times to runs per minute, so higher is better:”

“On Google’s V8 benchmark, Firefox 15 gets a score of 8474, and Firefox 17 gets a score of 9511. Firefox 18, however, gets a score of 10188, making it 7% faster than Firefox 17, and 20% faster than Firefox 15.”
“We still have a long way to go: over the next few months, now with our fancy new architecture in place, we’ll continue to hammer on major benchmarks and real-world applications.”

Source: CNET