Hands-On: Firefox 3 fixes what's broke and keeps what's right
With its latest version, Mozilla's browser continues to raise the bar for what Web browsers should be
Computerworld - The Mozilla Foundation is celebrating the arrival of Firefox 3 with a worldwide party -- and an attempt to set a new world record for the most downloads ever of a single software program. OK, so that's silly and extremely geekish, but what the heck? Why not kick up a fuss?
Especially because Firefox 3 is the best Web browser I've ever seen. And I've been using the Web since before there were Web browsers.
As far as I'm concerned, Firefox has been setting the standard for Web browsers since it first appeared in 2004. At the time, Microsoft's Internet Explorer ruled the Web, and it did a lousy job. But unless you were savvy enough to try alternatives such as Opera -- or were still hoping that Netscape would get its act together -- you were stuck with IE.
Click to view larger image.
For a while, though, Firefox went into a decline. Mozilla kept adding features, but at the expense of memory, stability and performance. At the same time, Microsoft had finally been forced to improve Internet Explorer. Firefox was still better, but it was no longer that much better than IE 7.
With this latest version, however, Firefox is back on track.
Resolving memory issues
For example, one of the ways that Firefox 2 annoyed people was the way it handled memory. The longer their browsers were open, and the more pages were loaded, the more memory was used. The result for some users -- especially those whose systems didn't have much memory to begin with -- was that performance would drop to a crawl.They also lost stability. With Firefox 2.x, I was averaging a complete Firefox failure -- all browser windows either freezing or closing down -- once every two days.
What was happening was that Firefox's bad memory management habits were zapping me. For example, Firefox 2.x used different-sized chunks of memory. Then, as it constantly grabbed and released memory, its memory map began to look like a beaten-up jigsaw puzzle. Here a hole, there a troublesome spot where someone had torn off part of a piece to make it fit, and so on.
In addition, Firefox 2.0 kept full-size copies of images in memory. When you displayed a JPEG or any of the other compressed picture formats, Firefox kept the full-size uncompressed images in memory even if you weren't currently looking at them. Since a single 100k image can eat up a megabyte-plus of memory, this old way of handling images can waste memory quickly.
Mozilla's engineers seem to have fixed that -- or at least improved it -- in Version 3. Now, if you're not looking at an image, it's been saved in memory in its original compressed format. They've also worked on the memory map issue.
Firefox 3 is now using expiration policies in its memory caches. The developers' thinking is that if you haven't retrieved a previously viewed page in half an hour or so, the savings in memory by dropping the page from your cache are more important than the small possibility your page will load faster if you retrieve the stale document. (For more explicit information on how memory issues have been tweaked in Firefox 3, a good resource is this blog entry by Mozilla developer Stuart Parmenter.)
The result is that, regardless of any other improvements, Firefox 3 is faster and more stable than its predecessor. I found that, on average, opening and closing tabs on Firefox 2.0.0.14 used up about 5% more RAM per browser tabbing session compared with Firefox 3. And in the weeks I've been running Firefox 3 on multiple systems on the same exact same PCs doing the same work as I was doing with Firefox 2.x, I haven't seen a single freeze-up.
Performance
Besides the memory improvements, I found Firefox to be both faster and more stable than its predecessor for other reasons. Thanks to the vastly improved Gecko 1.9 Web rendering platform, Firefox makes complex pages -- like Computerworld's own front page, with its text, graphics and animations -- pop, rather than be painted, on the screen.To test that, I looked at a group of pages, first on Firefox 2.0.0.14 and then on 3.0. (In all cases, I cleared the cache first.) I saw a 20% to 35% reduction in the time from when a Web page was summoned to when it completely appeared on the screen.
Next up, I tested Firefox 3 for its compliance with Web standards such as CSS, JavaScript, SVG and XML with the Web Standards Project's Acid3 test.
Here Firefox 3 scored 71, which isn't exactly a prize-winning rating; the latest version of Safari for the PC, Safari 3.1.1, scored 87. On the other hand, the other browsers I tried, such as IE 7 and IE 8 beta 1, turned in even worse results. Since Safari's security could well be described with the word awful, I'll stick with Firefox.
For practical purposes, the only Web pages that are likely to give you trouble are the same ones that always have: Web pages that were designed specifically with Internet Explorer and ActiveX in mind. But I wouldn't worry too much: In the months I've been using Firefox 3, first as a beta and then as a release candidate, Firefox had no trouble rendering any of the thousands of Web pages I visited.



- Excel 2010 Cheat Sheet
- Register for this Computerworld Insider Cheat Sheet and gain access to hundreds of premium content articles, guides, product reviews and more.
- Digital Transformation: Creating New Business Models Where Digital Meets Physical
- Individuals and businesses alike are embracing the digital revolution. Social networks and digital devices are being used to engage government, businesses and civil...
- Make the Connection: Better Network Connectivity Drives Transformation
- Network connectivity is more than just plumbing. Leading organizations today see high-performance network connectivity as a critical enabler of competitive advantage, and not...
- Virtualizing Government Infrastructure
- All server virtualization solutions are not created equal. The more-with-less agenda for government agencies is tailor-made for server virtualization, which is evolving into...
- Moving Service Management to SaaS
- Today, organizations can enjoy similarly substantial benefi ts by migrating their IT service management functions to a software-as-a-service model. This paper shows how...
- Achieving 360 Degree Network Visibility with Nimsoft
- 360° network visibility is critical for ensuring continuous availability of networks, servers, and applications-anything less could
have costly bottom-line implications.
All Networking White Papers
- Optimizing Networks for the Cloud
- Join guest speaker, Rohit Mehra, IDC Director of Enterprise Communications Infrastructure, to explore current trends, discuss best practices for optimizing Data Center and...
- Unified Communications 101
- What's the best way to implement a unified communications solution for your organization?
- Try the OptiView® XG on your network - FREE
- The OptiView® XG is the first dedicated tablet with automated network and application analysis -- fastest way to root cause. XG raises the...
- Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
- Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
- Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
- Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and... All Networking Webcasts