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
- Canonical takes a step in bringing Ubuntu to tablets
- KDE 4.5 release ups stability, adds Webkit browser
- KDE innovation still brewing amid stable 4.5 release
- OpenSUSE 11.3 released with two netbook options
- Intel ups tablet ammo with MeeGo, Android 2.2 for x86
- Intel's Meego OS shown on multitouch tablet
- MeeGo adds developers, needs 'investment' to succeed
- Nokia, Intel release MeeGo 1.0 for netbooks
- Need desktop access over the Web? Try some Guacamole
- Red Hat moves into desktop virtualization
Open Source Essentials
- 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
- Via releases laptop design as open source
- WebSphere Solution Design (S20) - CBD, contract role3/09/2010
Other
I.T. & T
WebSphere Solution Design (S20) - CBD, contract role - Solution Architect - Web Application Architecture Project!3/09/2010
Other
I.T. & T
Solution Architect to provide strategic and operational consulting for the end-to-end Web Application System project! Experienced with J2EE or .NET?! - Principal Consultant - ITIL2/09/2010
Other
I.T. & T
Excellent opportunity for an experienced ITIL Principal Consultant to join an innovative leading IT Service management consultancy. Attractive packag - Mainframe Developer - COBOL - 12 Month Contract2/09/2010
Other
I.T. & T
Mainframe Developer - COBOL - 12 Month Contract - Business Systems Analyst2/09/2010
Other
I.T. & T
Perm CBD based role for an experienced Business Systems Analyst - Senior SAP Project Manager2/09/2010
Other
I.T. & T
Senior SAP Project Manager - SAP FICO Consultant - 6 week contract - West Sydney2/09/2010
Other
I.T. & T
SAP FICO Consultant - 6 week contract - West Sydney
Whitepapers
TechWorld Blogs
Recent blog posts
- Windows Phone 7: how big can it get?
- NBN gets a turn at political football
- Internet filter gets caught up in politics
- TechWorld Forums goes live
- Selective sourcing the hybrid of cloud services
- Social networks catch more business attention
- RIP Kin
- Telstra’s copper and NBN’s fibre: will the two ends meet?
- RIP Windows 2000, XP lives on
- Does the world need another iPhone? Why not
Recent comments
- java development
12 hours 55 min ago - When mine called they
13 hours 39 min ago - 3D TV cannot fall - no way! Why?
16 hours 52 min ago - Thanks for taking the time to
1 day 5 hours ago - Windows scam
1 day 12 hours ago - My only anti fraud method is
2 days 7 hours ago - Private Cloud Taxonomies
2 days 7 hours ago - ...however...
2 days 16 hours ago - This Guy
2 days 16 hours ago - Glasses Free technology
2 days 17 hours ago - FOSS community
3 days 30 min ago - i have dv6000 with nvidia
3 days 1 hour ago - i have dv6000 and suddenly
3 days 2 hours ago - This is an awesome comment.
3 days 5 hours ago - Real Estate
3 days 7 hours ago - Scam - eventvwr scammers
3 days 12 hours ago - Well I never...
5 days 2 hours ago - Too bad Microsoft was mentioned
5 days 4 hours ago - Phone card is a better option to make calls at a lower rate
5 days 9 hours ago - In other words: "Developers,
5 days 14 hours ago










Comments
Post new comment