X
Business

Firefox 7: Better Memory Management, Meh Performance (Review)

The next version of Firefox is out, and while it's not that fast, it is an improvement on the last release of this popular, open-source Web browser.
Written by Steven Vaughan-Nichols, Senior Contributing Editor

I was hoping that Mozilla would do a better job with Firefox 7 than it had with the rather disappointing Firefox 6. They have. While it's not as good as Google's latest Chrome 14 Web browser, it is better. The real question: "Is it good enough?"

Well, let's start with the good news. Firefox's biggest problem over the years has been that it's been a memory hog. The longer you run Firefox, the more memory it eats up. If, like me, you left Firefox on for days and with multiple tabs you could actually lock a computer up just with Firefox alone. That, I'm happy to say, they've made a lot better.

According to Mozilla, Firefox's parent organization, "Firefox 7 now uses much less memory than previous versions: often 20% to 30% less, and sometimes as much as 50% less. This means that Firefox and the websites you use will be snappier, more responsive, and suffer fewer pauses. It also means that Firefox is less likely to crash or abort due to running out of memory." This is especially true if you're running Firefox on Windows.

This is the result of a concerted effort by Firefox's developers called MemShrink. This is a project that aims to reduce Firefox's memory consumption by using more space-efficient data structures and eliminating memory leaks, bad memory caching and memory fragmentation.

So does it work? To find out, I ran some memory use tests using first Firefox 6 and then Firefox 7. For these tests, I used my Gateway DX4710 Windows 7 SP1 test box. This PC is powered by a 2.5-GHz Intel Core 2 Quad processor and has 6GBs of RAM and an Intel GMA (Graphics Media Accelerator) 3100 for graphics. It's hooked to the Internet via a Netgear Gigabit Ethernet switch, which, in turn, is hooked up to a 60Mbps (Megabit per second) cable Internet connection.

I then pointing the Web browsers to my iGoogle (http://www.google.com/ig) page. IGoogle is a dynamically updated landing page. Over a day of otherwise sitting idle on this page I found that Firefox 7 had used 23% less RAM than its Firefox 6 sibling. Hurray! More memory management work needs to be done, but it's still a lot better than it was.

Download.com: Firefox 7

Firefox 7 also has several other significant changes. One that I'd encourage Firefox users to use is Telemetry. This opt-in system anonymous reports on your memory usage, CPU core count, cycle collection times, and startup speed. The laudable idea behind the program is to enable Firefox programmers To control this option, which is off by default, head to Options, Advanced, and look to the Submit Performance Data box at the bottom of the General tab.

A minor change, and one that I'm not too crazy about, is that Firefox now hides the 'http://' prefix in URLs by default. As someone's who always copying and pasting URL addresses, that's annoying. Anyone who writes a blog or copies and pastes Web addresses into social networks will also find it vexing. Some blog and networks can render URLs properly without "http://" as part of the address, but a lot can't.

On the more positive side, Facebook's built-in and encrypted bookmark and password saver, Firefox Sync is working much faster. You'll barely notice it keeping your passwords and bookmarks in sync between your PCs, laptops, and mobile devices.

I've also been pleased to see that Firefox is getting along better with my systems. I run Firefox on Windows 7, XP, several Linux distributions, and Mac OS X Snow Leopard and Lion. Unlike Firefox 6, I haven't seen it hang up yet.

That was all the good news, now for the rest: Firefox's performance continues to lag the best.

Some things are better though. For example, Firefox 7 scored a perfect 100 on the Acid 3 compatibility test. This test checks how well a browser complies with various Web standards such as CSS, JavaScript, and Extensible Markup Language (XML), Firefox had a score of 97. Chrome had a perfect score of 100, and IE 9 had a 95.

On the HTML5 Test, which checks to see how compliant the Web browser is with the HTML5 Web page standard, Firefox 7 once more came in with a score of 313 points out of a possible 450. Chrome 14, however, did even better with a score of 341. IE brought up the rear with 130 points.

Moving on to performance, I then tried the browsers out on Mozilla's JavaScript Kraken 1.1 benchmark. In Kraken, lower scores are better. Here, Firefox 7 was far better than Firefox 6. Firefox 7 came in with a score of 6792.9ms compared to Firefox 6's 7588.2ms. That was a lot better than IE 9 with its horrible 17,051.9.ms But, Chrome 14 left Firefox in the dust as well with its 4578.5ms.

On Google's JavaScript V8 Benchmark Suite, where higher scores are better, Firefox again turned in a poor score. This time it came in at 3,775 compared to Chrome 14's 7,591. IE once more limped into last place with its score of 2,193.

The new Peacekeeper Web browser test suite is a work in progress. It now checks on HTML5 compatibility, video codec support and other Web browser features, but it's still only scoring JavaScript performance. Once more, higher scores are better and Firefox joins IE in the dog-house. Firefox 7 came in just ahead of IE, 1,699 to 1,626. Chrome? Chrome scored almost double Firefox with 3,166.

As for SunSpider 0.9.1, the original JavaScript Web benchmark, where lower results are better, Firefox shows OK with 303.5ms, but both Chrome 14 with 249.9ms and IE 9 with 252.6 are better still.

So, bottom line, Firefox 7 is the best Firefox I've seen in some time. The Firefox development team has done some great work under the hood. That said, Firefox 7's still no where near fast enough to tempt me away from Chrome as my main Web browser. Sorry guys, better luck next release.

Related Stories:

Mozilla adds 'telemetry' feature to Firefox 7

Mozilla attempts to appease enterprise users with talk of 42-week Firefox release cycle

Google Chrome Web Browser to get a makeover

Chrome 14: The best Web browser keeps getting better (Review)

Firefox 6: A Firefox too far? (Review)

Editorial standards