Business Tech

Read all 'Internet Explorer' posts in Business Tech
November 24, 2009 4:00 AM PST

Firefox hopes to one-up IE with fast graphics

by Stephen Shankland

Last week, Microsoft showed off some browser technology that could help Internet Explorer leapfrog the competition. But if Mozilla succeeds in its hope, Microsoft could be playing catch-up instead.

The technology in question is hardware-accelerated graphics and text using interfaces called Direct2D and DirectWrite that provide an easy way to use graphics cards' computing power. They're built into Windows 7, and Microsoft is bringing them to Windows Vista but not Windows XP.

The performance boost from Direct2D and DirectWrite was the centerpiece of Microsoft's demonstration of Internet Explorer 9 goodies shown last week. Online maps flashed on the screen quickly and tracked mouse movements responsively; text was clearer and changed sizes more gracefully.

But the day of Microsoft's demo, Mozilla evangelist Chris Blizzard had this to tweet: "Interesting that we're doing Direct2D support in Firefox as well--I'll bet we'll ship it first."

There's work to back up his rhetoric. On Sunday, Bas Schouten, the programmer who's been leading the work for Mozilla, posted a prototype of Firefox using the Direct2D and DirectWrite.

However, any Firefox fans tempted to crow about a victory should be cautious. Mozilla wouldn't commit to including the technology, much less to a release schedule such as Firefox 3.7 due in the first half of 2010. "We are currently investigating Direct2D for Firefox, but do not have a target for shipping it in Firefox at this time," the organization said in a statement..

Several Web pages arrive significantly faster using Direct2D rendering technology in Firefox.

Several Web pages arrive significantly faster using Direct2D rendering technology in Firefox.

(Credit: Bas Schouten)

The race is on
Microsoft declined to comment for this story, referring readers just to last week's blog post about coming Internet Explorer 9 features. "While we're still early in the product cycle, we wanted to be clear to developers about our approach and the progress so far," the company said while sharing a Direct2D demonstration video.

There's no doubt the race is on, though, given the potential benefits of the new interface and the commercial success of Window 7. Microsoft is lighting a fire under its developers, but the company's browser has lagged Firefox and other rivals in many technological areas for years, and many Web developers loathe earlier versions of IE still widely used. IE's market share has steadily eroded, though it remains dominant overall.

The attention is giving Google ideas, too. In a Chrome issue logged Sunday, Chrome programmer Peter Kasting pointed to Schouten's blog post on the subject as "motivation."

"If we can speed up the rendering time, the most noticeable benefit will probably be smoother-feeling scrolling," Kasting said. He also directed attention in October to DirectWrite support in Chrome, though cautioning that it might not work with the browser's present "sandbox" design to isolate elements of the browser for security reasons.

Mozilla has its own results to show off, too. Schouten offered a graph showing improved performance displaying a variety of Web pages. Facebook, Google, and Twitter rendered on the screen in half the time using the Direct2D; Slashdot and a Wikipedia entry were barely changed. One taxing page using the Scalable Vector Graphics format (SVG) to show movable, resizable graphics showed more than twice as fast, dropping from about 11 milliseconds to less than 4 milliseconds.

Microsoft's DirectWrite permits smoother display of many fonts.

Microsoft's DirectWrite permits smoother display of many fonts.

(Credit: Microsoft)

What actually changes?
Direct2D replaces an older technology called Graphics Device Interface (GDI) used in Windows XP. Both offer a way for programs to tap into computing hardware without having to worry about the particulars of video card capabilities and settings, but Direct2D taps into hardware acceleration features.

The technology lets programmers control basic elements such as transparent boxes, curved lines, and resizable photos. Out of these, user interface elements are constructed; Direct2D calls upon a computer's graphics processor to speed that up. It's particularly helpful for dynamic situations that change element properties such as color, size, or opacity.

DirectWrite offers a similar graphics chip boost to the task of displaying text. That may not sound computationally intense, but some parts of it are. In particular, DirectWrite offers a more sophisticated mechanism for displaying text to take advantage of something called sub-pixel positioning of letters.

Each pixel on an LCD screen is actually made of three tiny slices--for red, green, and blue components--and sub-pixel technology subtly draws letters using pieces of these pixels to make the overall appearance smoother. The older GDI permitted some sub-pixel positioning, but only smoothed letters in the horizontal direction; DirectWrite smooths curves vertically as well.

Using the graphics chip in Direct2D and DirectWrite operations brings several advantages. Performance is the first: some operations are faster or smoother, and having more power on hand lets programmers tackle more ambitious projects. Second, the general-purpose central processor, relatively inefficient at handling graphics tasks, is unburdened, freeing it up for other tasks and saving battery power.

Firefox already has a graphics system of its own called Cairo. Schouten has been adding a Direct2D and DirectWrite.

Firefox is of course a browser that doesn't just work on Windows. The DirectWrite technology helps that operating system catch up to its rivals, said Mozilla's John Daggett in a blog post Sunday. "Platform APIs [application programming interfaces] on Mac OS X and Linux already do a good job rendering Postscript CFF [Compact Font Format] fonts," he said. "This just brings them up to parity under Windows 7."

Direct2D is used elsewhere in the browser. "We've made significant progress and are now able to present a Firefox browser completely rendered using Direct2D, making intensive usage of the GPU," or graphics processing unit, Schouten said. And because Cairo is used by other open-source software, other projects will benefit from the work, he added.

The Direct2D work is Mozilla's second hardware acceleration effort; the company also is working on one using a different hardware acceleration interface called OpenGL for mobile devices using Nvidia's Tegra chips, according to Mozilla.

This Mozilla demonstration of photos and Scalable Vector Graphics (SVG), with transparency and click-and-drag resizing, works more than twice as fast Direct2D graphics.

This Mozilla demonstration of photos and Scalable Vector Graphics (SVG), with transparency and click-and-drag resizing, works more than twice as fast Direct2D graphics.

(Credit: Screenshot by Stephen Shankland/CNET)

The interactive Web
Microsoft went out of its way to emphasize that the Direct2D and DirectWrite work will help existing Web pages without programmers having to change a line of code. Dean Hachamovitch, general manager of Internet Explorer, contrasted that to other hardware acceleration efforts including Native Client and O3D from Google and WebGL from Mozilla and the Khronos Group.

Native Client, O3D, and WebGL are part of a long list of developments designed to transform the Web into a foundation not just for static pages but also for interactive applications. Those technologies, though, require new programming skills and tools.

Mozilla, Google, Apple, and Opera have been pushing this interactive Web agenda, and Microsoft is showing signs of interest, too. However, for now, Microsoft emphasizes that Direct2D support will help the existing Web. But the browser makers have their eyes on interactive technology as well. Direct2D will help with complex sites that use 2D graphics interfaces such as SVG and Canvas, Mozilla said.

Added Schouten, "As Web sites become more graphically intense, dynamic graphics will start playing a larger role, especially in user interfaces."

Originally posted at Deep Tech

November 19, 2009 2:13 PM PST

Mozilla not interested in building a Firefox OS

by Stephen Shankland

Google wants to catalyze the era of Web applications with its Chrome OS project, but Mozilla has no plans for its own browser-based operating system, at least for now.

"We're really focused on making the Web the right platform of whatever operating system one is using. That's a fair amount of work," Mozilla Foundation Chairman Mitchell Baker said. "I think we're going to continue to focus for quite awhile on the Web itself as a platform and the capabilities of the Web rather than build an operating system of our own and pull everybody into our world."

Mozilla Foundation Chairman Mitchell Baker

Mozilla Foundation Chairman Mitchell Baker

(Credit: Mozilla)

Baker shared the thoughts in an interview about the Mozilla Foundation's report of $79 million. The foundation isn't strapped for cash, but it is financially tiny compared to the three main rivals in the browser market today, Microsoft, Apple, and Google.

Microsoft was largely dormant when Firefox was getting its start five years ago, but the company is lighting a fire under its Internet Explorer developers for IE 9. Among the features the company touted are faster execution of Web-based JavaScript programs, better compliance with Web standards, and higher performance in general.

Internet Explorer remains the dominant browser in use today. Today, the elderly IE 6, dating from 2001, still is the most widely used version, and its widespread use is an anchor that keeps Web developers and therefore other browsers from advancing as fast as they might. So, unsurprisingly, Baker was comfortable with the prospect of a higher-powered IE being resurgent.

"If it could resurge enough to pull the hundreds of millions of people still using IE 6, we'd all be ecstatic," she said. "A lot of people are going to continue to use IE. They get it on their machine. If Microsoft makes that product more capable so the Web can move forward, there's good in that."

The Mozilla Foundation, of which Firefox developer Mozilla Corp. is a taxable subsidiary, gets the bulk of its revenue from Google through a search-ad deal that runs through 2011 at present. Search traffic that stems from Firefox's built-in search bar is set by default to go to Google, and a portion of the resulting Google search-ad revenue goes back to Mozilla.

Mozilla is looking to diversify its revenue sources, though, Baker said, and has taken some small steps.

"We did some small diversification in search, for example in Russia," using Google rival Yandex's services, she said. "We look at diversification, but we're not rushing into it."

And she's comfortable with today's funding situation because it doesn't force Mozilla to take Firefox in a direction it doesn't want to go.

"We have search in the product because we want it. We don't have any other discussions with Google about what the product is," she said. "The search and revenue relationship is completely distinct from the product development relationship."

Though Mozilla's revenue grew only at 5 percent from 2007 to 2008, compared to 12 percent the year before, Baker isn't concerned. "It matches our projections" of slow, steady growth, she said. "We're pretty much in line."

Digging into the financial statement, it should be noted that the foundation's $79 million in revenue is after a $7.8 million unrealized loss in the value of its investments. As the economy improves, it's possible those investments will recover some of their value.

The foundation is making more money than it loses. Expenses were $49 million for 2008, according to the financial statement.

"We have adequate resources to do what we have planned, plus save a little bit," Baker said. "Right now we're not bumping up against the ceiling. Our revenue is adequate to meet our needs. We try to be careful with money."

The Internal Revenue Service is scrutinizing Mozilla's corporate structure--a foundation with two taxable if not exactly for-profit subsidiaries. The foundation disclosed the scrutiny a year ago, and that investigation is continuing, Baker said.

"The IRS can be a very slow-moving organization. It's still an open discussion," she said, and the foundation is taking the matter seriously. "We don't have a clear idea what the IRS is thinking."

Two years ago, the Mozilla Foundation established its second taxable subsidiary, Mozilla Messaging, which focuses on the Thunderbird e-mail software and more recently on the Web-based Raindrop universal communications service. For now, that project gets its funding from the Firefox side of the house, but Baker plans to increase its financial focus once the near-final Thunderbird 3 is finished.

"The task now is to ship first Thunderbird 3. We expect to see that this year," Baker said. Mozilla overall is set up to be sustainable, not to be a money machine, but Mozilla Messaging will need to generate more revenue on its own eventually to help with that sustainability effort.

Originally posted at Deep Tech
November 18, 2009 3:02 PM PST

With IE 9, Microsoft fights back in browser wars

by Stephen Shankland

With Internet Explorer 9, Microsoft showed Wednesday it's trying to retake the browser initiative.

IE remains the Net's dominant browser. But perversely, it became something of a technology underdog after Microsoft vanquished Netscape in the browser wars of the 1990s and scaled back its browser effort.

That left an opportunity for rivals to blossom--most notably Firefox, which now is used by a quarter of Web surfers, but also Apple's Safari, which now runs on Windows as well as Mac OS X, and Google's Chrome, which aims to make the Web faster and a better foundation for applications.

Microsoft has been pouring resources back into the IE effort, though, and at its Professional Developers Conference in Los Angeles, some fruits of that labor were on display. In particular, Windows unit president Steven Sinofsky showed off IE 9's new hardware-accelerated text and graphics.

The acceleration feature takes advantage of hitherto untapped computing power in a way that's more useful than other browser-boosting technology--Google's Native Client to directly employ PC's processor and Mozilla's WebGL for accelerated 3D graphics, for example--according to Dean Hachamovitch, general manager of Internet Explorer.

"This is a direct improvement to everybody's usage of the Web on a daily basis," Hachamovitch said in an interview after Sinofsky's speech. "Web developers are doing what they did before, only now they can tap directly into a PC's graphics hardware to make their text work better and graphics work better."

... Read more
Originally posted at Deep Tech
September 2, 2009 10:09 AM PDT

Rival browsers gain on Internet Explorer

by Stephen Shankland
  • 39 comments
Internet Explorer rivals generally gained market share in figures from July, shown at top, and August.

Internet Explorer rivals generally gained market share in figures from July, shown at top, and August.

(Credit: Net Applications)

After resetting its methodology to better account for global variations, Net Applications' browser usage statistics have resumed an earlier trend in which Internet Explorer's main rivals edged ahead.

Mozilla's Firefox had the most notable gain, from 22.5 percent to 23 percent, while Google's Chrome rose from 2.6 percent to 2.8 percent. Apple's Safari was flat at 4.1 percent, and IE dipped from 67.7 percent to 67 percent. Opera, in fifth place just before this week's release of Opera 10, was essentially flat at 2 percent.

The browser wars are back in full swing. Though IE remains dominant, rivals are racing to build in new features to make the Web a better foundation for applications--the vision Netscape had back in the first generation of browser wars of the 1990s. Only recently has Microsoft joined the HTML 5 discussion in earnest.

This time profitable powerhouses such as Google are pushing this Web applications facet of cloud computing, and even Microsoft is embracing the trend with an online version of Office en route. Using the browser and the Web to run applications has a lot more meat on its bones after a decade of work.

Microsoft is working to wean the world from IE 6, the version of the browser that shipped with Windows XP, and has made some progress, according to Net Applications' statistics.

Version 6 still rules the IE roost, but it's dropping in usage.

Version 6 still rules the IE roost, but it's dropping in usage.

(Credit: Net Applications)

IE 8 usage increased from 12.5 percent to 15.1 percent usage from July to August, while IE 6 dropped from 27.2 percent to 25.3 percent. IE 7 decreased from 23.1 percent to 21.1 percent.

Mozilla's newer version 3.5 of Firefox, released in June, also made gains from 4.5 percent to 8.9 percent. Firefox 3.0 dropped from 16.2 percent to 12.5 percent.

Using a modern browser is important when it comes to bringing the Web application technology to fruition. Older browsers lack support for advancements in page layout and graphics, HTML features such as built-in video, and perhaps most crucially, fast execution of Web-based JavaScript programs.

Originally posted at Deep Tech
August 7, 2009 5:11 PM PDT

Microsoft joins HTML 5 standard fray in earnest

by Stephen Shankland
  • 117 comments

After leaving much of the creation of a new version of HTML to Apple, Google, Opera, and Mozilla, Microsoft has begun sinking its teeth into the Web standard.

The move adds clout to the effort to renovate HyperText Markup Language, the standard used to describe Web pages, which last was formally updated in 1999. In a mailing list posting on Friday, the software giant offered a host of questions and concerns with the present proposal.

"As part of our planning for future work, the IE team is reviewing the current editor's draft of the HTML5 spec and gathering our thoughts. We want to share our feedback and discuss this in the working group," said Internet Explorer Program Manager Adrian Bateman in the message. "I will post our notes as we collect them so we can iterate on our thinking more quickly. At this stage we have more questions than answers, but I believe that discussing them in public is the best way to make progress."

HTML 5 in its current draft form includes a number of significant advancements, notably several that make the Web a better foundation for applications, not just static Web pages. Among the present HTML 5 features are built-in video and audio, the ability to store data on a local computer to enable use of Web applications even when offline, Web Workers that can perform computational chores in the background without bogging down Web application responsiveness, Canvas for creating sophisticated two-dimensional graphics, and drag-and-drop for better Web application user interfaces.

... Read more
August 5, 2009 8:42 AM PDT

Convulsion in browser share stats: Safari plunges

by Stephen Shankland
  • 38 comments
Net Applications changed its methodology, with Apple faring worse in the new statistics and Opera and Chrome getting a boost. These figures are for July.

Net Applications changed its methodology, with Apple faring worse in the new statistics and Opera and Chrome getting a boost. These figures are for July.

(Credit: Net Applications)

Apple's share of the installed base of Web browsers has plunged in half--but because of a methodology at a firm that produces the statistics rather than anything Apple or computer users did.

Net Applications, which compiles statistics based on the 160 million unique visits to a network of 40,000 Web sites using its analytics service, dramatically lowered Apple's browser share when the firm concluded its methodology needed refining. Specifically, the company concluded that there was a disconnect between visits to its site network and actual Web use in some areas such as China, said Vincent Vizzaccaro, executive vice president of marketing.

To try to better reflect reality, the company adjusted its statistics through use of the CIA's estimates of Internet population, according to its explanation. Consequently the company took a month to change course then released updated statistics from May and earlier that dramatically changed some figures.

... Read more
July 31, 2009 12:13 PM PDT

Firefox: 1 billion downloads only part of the story

by Stephen Shankland
  • 89 comments

At about 8 a.m. PDT Friday, Firefox crossed the billion-download threshold--a notably large number for Mozilla's open-source Web browser but one that doesn't tell the whole story.

Firefox fans love their statistical milestones, and Mozilla enjoys fanning the flames by providing plenty of opportunities for self-congratulation. In 2008 was the Firefox Download Day, with more than 8 million downloads in 24 hours. Next came the Firefox 3.5 debut and its download tracker.

Mozilla boasted that Firefox downloads surpassed 1 billion on Friday.

Mozilla boasted that Firefox downloads surpassed 1 billion on Friday.

(Credit: Screenshot by Stephen Shankland/CNET)

And now we have the billion-download figure on the Spread Firefox site. That includes updates people have fetched deliberately, not automatic updates, Mozilla said. To maximize the marketing potential, Mozilla also is touting the 1,000,000,000 + you site.

That site probably could be named better. Firefox director Mike Belztner said in June that Mozilla estimates there are 300 million Firefox users, up from 175 million a year earlier, so don't go thinking there are a billion people using it. Indeed, I find the total user population a much more interesting statistic than downloads.

Firefox has truly achieved real success, eating steadily into Microsoft Internet Explorer's dominant market share to become the second-most used browser. The newest version is downloaded between 40 and 60 times a second worldwide at present.

IE 8 downloads surpass 200 million
But lest Firefox fans get too carried away with their success, there's another number that shows what Mozilla is up against. According to a source familiar with Microsoft's statistics, IE 8 has been downloaded more than 200 million times in the last four months since its release.

That's a fifth of the way to what Firefox achieved since Firefox 1.0 was released nearly five years ago. And Microsoft hasn't even begun pushing IE 8 through update in earnest yet. Microsoft's 200 million statistic doesn't include updates such as bug patches and security fixes.

So let's face it: being installed along with the world's most widely used operating system remains a huge advantage for IE's use, antitrust concerns notwithstanding. Microsoft declined to comment on its download statistics.

(Credit: Mozilla)

So what do all these numbers really show besides browser makers' urges to thump their chests about their popularity? This: the world of browsers is in serious flux.

Next-gen Web en route
That's because after years of near-dormancy after IE crushed Netscape in the 1990s, the browser wars are back in full swing. The growing migration of personal and professional activity to Web applications, the growing adoption of broadband Internet connections, and the growing adoption of truly Web-capable mobile phones are combining to make Web browsers a strategic asset in the computing industry. Apple, Microsoft, Mozilla, Google, Opera Software, and others all want to be the gateway to the world's most vibrant medium, the Internet.

Even the fifth-ranked browser can claim notable success. Opera's desktop browser has been downloaded more than 270 million times from the company's own servers since 2003, and the daily download rate has jumped from 30,000 to 40,000 back then to about 200,000 today, the company said. Throwing Opera Mini for mobile phones into the mix increases the total to about 500 million.

The download rates show that there's a powerful movement afoot to "upgrade the Web," as Mozilla's marketing catchphrase would have it.

It's a gradual change, with plenty of laggards such as corporate users who can't upgrade from IE 6 or cybercafes with locked-down PCs. And there's plenty of turmoil about next-generation Web standards. But the herd is gradually moving to more sophisticated browsers that collectively enable a more sophisticated Web.

July 15, 2009 6:20 AM PDT

State Dept. to Clinton: Please let us use Firefox

by Matt Asay
  • 103 comments

Despite the rise of open source within the federal government, Mozilla's Firefox has yet to gain an official nod from the Department of State, at least according to a recent question-and-answer session that Secretary Hillary Clinton and Under Secretary Patrick Kennedy hosted last week, with an ironic back-and-forth on Firefox kicked off by government employee Jim Finkle:

Finkle: Can you please let the staff use an alternative Web browser called Firefox? I just--(applause)--I just moved to the State Department from the National Geospatial Intelligence Agency and was surprised that State doesn't use this browser. It was approved for the entire intelligence community, so I don't understand why State can't use it. It's a much safer program. Thank you. (Applause.)

Clinton: Well, apparently, there's a lot of support for this suggestion. (Laughter.) I don't know the answer. Pat, do you know the answer? (Laughter.)

Kennedy: The answer is, at the moment, it's an expense question. We can --

Finkle: It's free. (Laughter.)

Kennedy: Nothing is free. (Laughter.) It's a question of the resources to manage multiple systems. It is something we're looking at. And thanks to the secretary, there is a significant increase in the 2010 budget request that's pending for what is called the Capital Investment Fund, by which we fund our information technology operations. With the secretary's continuing pushing, we're hoping to get that increase in the Capital Investment Fund. And with those additional resources, we will be able to add multiple programs to it.

Yes, you're correct; it's free, but it has to be administered, the patches have to be loaded. It may seem small, but when you're running a worldwide operation and trying to push, as the secretary rightly said, out fobs and other devices, you're caught in the terrible bind of triage of trying to get the most out that you can, but knowing you can't do everything at once.

Under Secretary Kennedy makes a good point: deploying Firefox isn't free, in terms of administration. But then, nothing is, including Internet Explorer. The real question is whether Firefox is easier and more cost-effective to support than IE. Mozilla has made some recent moves to make it such. We'll see if the government is listening.


Follow me on Twitter @mjasay.

Originally posted at The Open Road
Matt Asay brings a decade of in-the-trenches open-source business and legal experience to The Open Road, with an emphasis on emerging open-source business strategies and opportunities. Matt is vice president of business development at Alfresco, a company that develops open-source software for content management. He is a member of the CNET Blog Network and is not an employee of CNET. Disclosure. You can follow Matt on Twitter @mjasay.
June 18, 2009 1:03 AM PDT

Microsoft beating Mozilla...in open-source licensing

by Matt Asay
  • 16 comments

Microsoft's Internet Explorer continues to hemorrhage market share to Mozilla's open-source Firefox browser. But Microsoft is set to surpass Mozilla in one area: adoption of its open-source Microsoft Public License (MS-PL), according to research from Black Duck Software.

The MS-PL is now used by 1.02 percent of open-source projects. This is impressive given that it was only approved by the Open Source Initiative some two years ago. The Mozilla Public License (MPL), by contrast, has been around for many more years and is used by 1.25 percent of open-source projects, ranking ninth in terms of popularity. MS-PL is 10th but is gaining fast.

It's a matter of coloring inside the CodePlex lines.

The MPL offers some benefits over its long-serving peers like the GNU General Public License (50.17 percent market share), but often the benefits are outweighed by the sheer momentum of the GPL. Whatever its deficiencies, the GPL is a relatively well-understood license.

For those developers looking to go "off-piste" with a different license, and particularly for those with a Microsoft inclination--as is the case with Microsoft open-source code hosting repository CodePlex--it's far easier to opt to do so with the MS-PL versus the MPL, the Eclipse Public License, or another license.

As CodePlex continues to gain in popularity, I expect we'll see the MS-PL push past MPL and potentially even past the MIT License, which currently ranks seventh at 3.79 percent share. When that happens, it will be a sign that Microsoft has truly arrived as an open-source player.

Of course, I suspect that Microsoft would rather beat Mozilla in browser market share than in license market share. But you can't have everything, now can you?


Follow me on Twitter @mjasay.

Originally posted at The Open Road
Matt Asay brings a decade of in-the-trenches open-source business and legal experience to The Open Road, with an emphasis on emerging open-source business strategies and opportunities. Matt is vice president of business development at Alfresco, a company that develops open-source software for content management. He is a member of the CNET Blog Network and is not an employee of CNET. Disclosure. You can follow Matt on Twitter @mjasay.
October 17, 2008 10:37 AM PDT

Newer Chrome, Firefox show speed improvements

by Stephen Shankland
  • 44 comments

The SunSpider test shows Tracemonkey-enabled Firefox leading the newest Chrome build in JavaScript performance--for now at least. Test results reported in seconds, so smaller is better.

(Credit: CNET News)

Correction 12:00 p.m. PDT: This report has been updated to reflect Firefox performance with the TraceMonkey JavaScript engine enabled, in which case Firefox is fastest at the SunSpider test.

With new beta versions out for Firefox and Google Chrome, I thought I'd see how things have changed when it comes to testing the speed of JavaScript, the programming language that powers many cutting-edge Web applications such as Gmail and Google Docs. The answer: both browsers made big strides, but Firefox still beats Chrome on one widely-used performance test.

When Chrome was released, I ran Google's JavaScript speed test on Firefox 3.0.1, the initial Chrome beta, Internet Explorer 7 and 8 beta 2, and Safari 3.1.2. Chrome led the speed test with an overall score of 1,851 and Firefox in second place at 205. A bigger score is better on this test.

Running the same test on the latest developer version of Chrome, 0.3.154.3, boosted the browser's score to 2,265--a 22 percent increase. And Firefox jumped 15 percent to 235. Firefox 3.1 beta 1. However, that test measures Firefox without its new TraceMonkey JavaScript engine enabled; a bug in TraceMonkey trips up the test by invoking a print dialog box. (There aren't any new versions of Safari or IE to test, though Safari likely will see a boost from its earlier score of 170 from the SquirrelFish Extreme JavaScript engine.)

In September, Firefox backer Mozilla countered Google's benchmark suite, spotlighting Firefox's superior results using the SunSpider speed test. Here, TraceMonkey works, and Firefox maintains its lead over Chrome and the others.

Chrome vs. Firefox JavaScript scores

The newest Chrome beta is 22 percent faster on Google's own JavaScript benchmark. Firefox's performance score increased 15 percent--but that doesn't factor in TraceMonkey, because a bug breaks this test.

(Credit: CNET News)

I couldn't run SunSpider when Chrome was released because the site was out of commission that day, but it's up and running again now, so here's the latest results for the four browsers--and bear in mind here that a smaller score is best for SunSpider: TraceMonkey-enabled Firefox led with a score of 2,257; Chrome was second at 2,904; Firefox 3.1 beta 1 with no TraceMonkey next with 4,233; Safari 3.1.2 followed at 6,351; and IE 8 beta brought up the rear with 9,025.

Mozilla's Mike Shaver said the bug that impairs the Google JavaScript test--one reason TraceMonkey isn't enabled by default--should be fixed "soon." For those who want to try the their own tests, Tech-Recipes has useful instructions on how to enable TraceMonkey.

Why you should care
Why does all this matter? A few reasons.

First of all, JavaScript is widely used in innumerable ordinary Web sites, and Internet companies have found that even small improvements in Web page responsiveness increases user interaction with their sites. A snappier response is better for everyone.

Second, for the more avant garde, JavaScript powers many sophisticated Web sites and Web-based applications, endowing them with features such as drag-and-drop, pop-up dialog boxes. Faster JavaScript means companies such as Zoho, Google, and Yahoo can build more features into the Web applications and that users will find those applications easier to use. And these more interfaces are spreading to mainstream sites, too.

Last, on the programming front, JavaScript is vying with other technologies for building rich Internet applications. Microsoft steers developers to Silverlight, Adobe Systems continues to improve its Flash and Flex technology, HTML itself is getting more powerful. And of course there's the larger competition between Web-based applications and those that run directly on the PC, such as Microsoft Office.

A final note: The same benchmark caveats apply this time around, too. Your mileage may vary--my tests were on a dual-core Lenovo T61 with Windows XP. There are other performance attributes that affect Web browsing besides JavaScript performance. And even in the narrower realm of JavaScript, benchmarks like these don't necessarily represent the workloads that will have you pining for a faster machine.

advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

About Business Tech

Your destination for the latest news on enterprise-level information technology, from chip research and server design to software issues including programming, open source and patents.

Add this feed to your online news reader

Business Tech topics

Most Discussed



advertisement

Inside CNET News

Scroll Left Scroll Right