Mozilla said Friday it has added the fruits of a two-month JavaScript turbo power project to the latest preview of its next browser, Firefox 3.1, that boosts some benchmark speeds by nearly 40 times over Firefox 3.0.
The new Mozilla JavaScript interpreter is also about 2.4 times faster than the newest interpreter slated for Apple's Safari, according to benchmark tests.
Dubbed "TraceMonkey," the revamped JavaScript engine will make possible Web-based applications that are today too sluggish to be acceptable, said Mike Shaver, the company's interim head of engineering. "We're making JavaScript disappear as far as performance is concerned," said Shaver, who pointed out a photo-editing demonstration that his predecessor, Mike Schroepfer, put together to strut TraceMonkey's speed.
"One example is to use the browser as a very simple PhotoShop," said Shaver. "[Editing an image requires] things that, for each step, takes the better part of a second. That's not a great user experience. But [with TraceMonkey], now you have something that comes close to interactive performance."
Shreopfer posted a video that showed side-by-side comparisons between Firefox 3.0 and Firefox 3.1 with TraceMonkey on his blog Friday. Users can also run the simple application themselves using Firefox 3.0 or the latest version of 3.1.
For the moment, TraceMonkey has been disabled in Firefox 3.1, which is currently in alpha stage and slated to reach beta next month, but the faster JavaScript engine will be turned on at some point. "We are planning for it to be there in Firefox 3.1," said Shaver. "It won't have all the capabilities, there's more than a couple of months of work left, but we are targeting 3.1."
Mozilla has tentatively set the ship date of a finished Firefox 3.1 for late this year or early 2009.
Shaver and Brendan Eich, Mozilla's chief technology officer and the creator of JavaScript, both posted TraceMonkey's benchmark results on their blogs Friday. Eich, for example, noted that TraceMonkey's scores on SunSpider were between 1.8 and 37.5 times faster than Firefox 3.0, which itself boasted improved JavaScript speed.
Shaver acknowledged that benchmarks don't tell the whole story, but remains confident that users would find Firefox 3.1 with TraceMonkey much faster. "There's still a lot of room for improvement to benchmark JavaScript," he said. "[But] as an application developer, the only benchmark you care about is how [your application] runs."
Mozilla's goal with TraceMonkey is to push JavaScript execution speeds closer to that of applications written in native code, such as compiled C++ code. "There's no theoretical reason why it can't be as sharp and approach native code speeds in two to four years," Shaver predicted.
TraceMonkey is based on a technique developed at University of California -- Irvine called "trace trees," and builds on code and ideas shared with the open-source Tamarin Tracing project. Shaver credited Eich; Andreas Gal, a project scientist at UC Irvine; David Anderson, a summer intern; and others for their work on the fast-track project.
Latest on Desktop Environments
- KOffice on version 2.0, extensions, and being like Firefox
- Ingres bundles Red Hat for application development stack
- KOffice 2.0.0 tagged for release
- First KDE 4.3 beta released for testing
- The A-Z of Programming Languages: Tcl
- Google's CEO predicts strong year for Android
- KOffice preps version 2.0 with first release candidate
- Grand ambitions for Linux
- Linux shortlisted for DET netbooks, beaten by XP
- Novell SUSE Linux Enterprise Desktop 11
Open Source Essentials
- Highly anticipated open-source releases coming in '09
- Microsoft 'interested' in open source browser: Ballmer
- Flying high with open source
- Open sourcing code may improve transparency on Wall Street
- Problem-solvers hunt open-source solutions
- Open source advocates hail appeals court ruling
- Open-source software a security risk, study claims
- Insurance company bets health on open source
- Open source stack solid foundation for All Homes
- 20 great Windows open source projects you should get to know
TechWorld Jobs (beta)
Recent Jobs
TechWorld Blogs
-

TalkingTech
The view from the top of IT with TechWorld Editor Rodney Gedda
-

Entrenched
Cooking up better code, IDG's developers reveal some of their secrets
-

Broadband Voice
Darren Pauli digs in from the front line of Australia's broadband battleground
Recent blog posts
- Nokia remains 'open' to Android amid Symbian renaissance
- KDE's Seigo gives sneak peek at version 4.3
- Was the iPhone 3G S worth queuing up for?
- Has Oracle started its mammoth technology consolidation?
- iPhone 3.0: the detail is the process, not the features
- TechWorld.com.au goes mobile
- Should Dell buy Palm? Stranger things have happened
- A big week for Linux: is user friendliness finally in sight?
- Apple, Android rain on Palm's Pre parade
- The clone attack is becoming unstoppable
Recent comments
- State your Prediction and
11 hours 6 sec ago - Yes I have seen them.Actually
11 hours 52 min ago - PSP Nintendo
1 day 3 hours ago - Interesting report. You were
1 day 23 hours ago - Are you sure it is in Sydney?
2 days 10 hours ago - The mobile market has
2 days 18 hours ago - Great news.
Sms spam should
3 days 15 hours ago - now what am I gonna do with
3 days 18 hours ago - ozlotteries.com not ozlotto.cm
3 days 19 hours ago - OLAT Release
4 days 5 hours ago - and i was sure i would win...
4 days 10 hours ago - Hi SolidRadicle,
I am looking
4 days 10 hours ago - Not if I can help it
4 days 10 hours ago - Ozlotto Tips Scam
4 days 14 hours ago - Great post.
It's very
4 days 14 hours ago - Excellent review! I'm glad
6 days 12 hours ago - iTunes Helper
1 week 1 day ago - Update the link to OrangeHRM web site
1 week 2 days ago - Very informative article
1 week 2 days ago - Google Chrome is still being directed to bing instead of google
1 week 2 days ago










Comments
Post new comment