Performance
Posted on 13 Aug 2008 at 12:03
Mozilla is making bold claims about the performance of its new browser, but do they really bear scrutiny? We've put Firefox 3 through a series of real-world tests to examine whether it genuinely does offer the claimed "two to three times" performance boost over Firefox 2.
Memory usage
The developers of Firefox 3 claim it makes more efficient use of memory than before. But does it really matter - how much do browsers use anyway? To find out, we set up a scripted test and assessed four major browsers: IE7, Opera 9.5, Firefox 2 and Firefox 3. The script opens ten tabs and loads ten different popular websites into each, including the likes of the BBC home page, the BBC iPlayer site, YouTube and Flickr. It also includes specific sites we know are heavy on resources, in particular the Financial Times website at www.ft.com, which is full of Flash adverts and JavaScript widgets. The test script leaves the sites open for a fixed period and then closes them down again in sequence, which in theory should release the memory they use back to the operating system.
We then used Vista's Resources Monitor tool to track the individual memory usage of each application over time, and plot the results in a single graph (below right). By default, Firefox 2 and 3 won't co-exist on the same Windows installation, but we used command-line options to load different user profiles for each app.
Opinion varies on exactly which metric represents the true memory usage of an application. There are two potential measurements that Resources Monitor provides: "Working Set (Private)" and "Private Bytes". Both represent in slightly different ways the amount of memory an application has grabbed for its own exclusive use and which is unavailable to the rest of the system. Developers of Firefox have said they prefer the Private Bytes measurements. We used it to take readings in the graph opposite, but found that while the results differ slightly between the two, it's a fairly small differential.
The results of our tests show stark differences in the total memory footprint grabbed by the various browsers. Opera 9.5, Firefox 2 and Firefox 3 are fairly close in terms of memory usage, but Firefox 3 peaks higher than its older cousin. Internet Explorer 7, by contrast, steals far more, peaking at 130MB with the exact same sites open. We were disappointed by Opera 9.5, since earlier versions have proved far leaner - Firefox can now claim to be superior when in comes to overall memory footprint.
Where Firefox 3 scores well is its ability to release memory it's been using, as shown by the final third of the graph. None of the browsers drops back down to their original 20MB or so, but Firefox 3 soon reverts to around 65MB - significantly less than the others.

Firefox evangelists have made much of the new version's improved control of memory leaks, but in these tests we didn't see a huge difference. Memory leaks refer to an application taking a chunk of system memory, then losing the reference to it and failing to give it back to the operating system's free-memory pool. Over time, all free system memory can seep into the application's own resource pool and eventually lead to a crash. To simulate the conditions under which memory leaks occur, we left our test script running for a whole day in each browser, continuously opening and closing the same set of websites. In practice, all the browsers tended to use progressively more memory, but it was a small increase and none was so poor as to threaten system stability.
Real-world performance
Aside from the improved memory management, Mozilla claims that enhancements to the browser's underlying Gecko engine have resulted in huge performance gains, "making Firefox 3 two to three times faster than Firefox 2 overall".
From around the web
For more details about purchasing this feature and/or images for editorial usage, please contact Jasmine Samra on pictures@dennis.co.uk
advertisement
- Mozilla: everyone should learn a little bit of code
- Google mines social network data for semantic search
- Microsoft tweaks multi-monitor support in Windows 8
- Phone sales shrink as consumers await fresh handsets
- Nvidia warns 28nm supply problems continue
- File-fixing tools to improve uptime in Windows 8
- Mozilla: Microsoft blocking rival browsers in Windows RT
- Microsoft developing sound-based gesture control
- Dell working on Ubuntu Ultrabook for developers
- Media Center to be paid-for add-on in Windows 8
- Sony VAIO T Series Ultrabook review: first look
- Revealed: the military standards and robots HP uses to test its laptops
- Windows 8: multi-monitors and double standards?
- Why is TalkTalk's year-old porn filter suddenly big news?
- Why are laptop screens so far behind mobiles?
- HP EliteBook Folio review: first look
- The shoebox-sized all-in-one printer
- Forget the Ultrabook: here comes the HP Sleekbook
- HP Spectre XT review: first look
- Samsung Galaxy S III review: first look
advertisement
