Sunday, August 24, 2008

Javascript Speed up on Firefox 3.1?

Mozilla programmers are creating a new feature to come in Firefox 3.1 called TraceMonkey which they say will drastically improve the performance of Javascipt items running on Firefox.

Many of you probably noticed even if you're not very familiar with online applications, that most web based applications involving image editing or 3D graphics or other things that Javascript generally doesn't run fast with, are compiled with Adobe Flash or other such technologies. Apparently, this new feature of Firefox will allow Javascript to run twice as fast as it currently does on Firefox 3. For many tasks involving Javascript, their speed will be several times faster.
Tracemonkey is a just-in-time compiler. Javascript is usually interpreted by the browser line by line as the program runs, which is a much slower process than if the software was precompiled into a binary file (such is the case with normal software). It seems that TraceMonkey's name is made of two key aspects of this feature. the Monkey coming SpiderMonkey, firefox's current interpreter, and Trace for the tracing technology that TraceMonkey uses to find the most important parts of a javascript software and also find the loops of activity that occur. Tests have already shown TraceMonkey's effectiveness and it will probably be first implemented in 3.1 Beta.
I myself am a Firefox user, and in the time of this writing, I'm using Firefox 3. I will be glad to see this come through 3.1 as well as the other new features. If Javascript can load much faster this way, then perhaps we'll see a much more widespread use of Javascript and in new areas.

---END OF POST---
Thank you for coming to BlitzTech Blog. Like this article? Share by using our share button below. Or you can subscribe to our feed and stay up to date with the latest updates from our site. Remember, here at BlitzTech Blog, we value your opinions and don't forget to come back for more at the BlitzTech Blog! Don't forget to give your comments below and rate our articles!

0 comments: