diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Firefox 3 Beta ultimate feature: Performance

Along with the long list of new features and improvements we can find in Firefox 3 betas so far, there is a series of performance improvements coming to Firefox 3 Beta 4.

I’ve finally managed to run a set of tests to see how Firefox 3 performance compares to Firefox 2’s.

JavaScript: As you may know, JavaScript is progressively becoming more important as we, users come to expect web applications to behave more like their desktop equivalents. For web developers, the top tool for doing this is JavaScript, the language used to program the different web page elements and in some cases, query the server for small pieces of data.

For Firefox, it is even more critical since the whole interface (extensions included) runs on JavaScript: open a context menu, a menu, a tab or a window, and there’s JavaScript at work all around connecting the underlying pieces.

SunSpider test resultsSo you will be glad to know JavaScript performance in Firefox 3 has almost tripled compared to Firefox 2, doubled compared to Beta 3, and has become the fastest engine among all current browsers including Opera 9.5 beta and Safari 3.0.4 (also in beta). This is according to SunSpider, a JavaScript benchmark tool designed by WebKit (the project that makes Safari’s engine) to measure JavaScript performance.

It must be noted, that as any benchmark tool it is not perfect or free of criticism: an engine will most probably perform better in one test than another.

It is also said that an engine or application could be tweaked to perform better in a particular well known test. I think if the test is well designed and effectively represents what affects most users, then tweaking those particular factors only makes sense. What would be the point of fixing some obscure interfaces if it’s not what real world applications will benefit from?

I for one will be happy to learn about more and better JavaScript tests to benchmark Firefox 2 and 3.

Memory footprint: Firefox 2 has fame for consuming lots of memory and most annoyingly eating more of it when it is supposed to be sleeping.

So I designed a simple test with a set of 9 web pages on Windows XP SP2, with an empty profile and a blank page set as home page. Measures were taken with Windows Task Manager. The test covers a few simple web pages with simple browsing. Then more complex pages are added keeping the first pages opened. A couple of tabs are then closed to see how much memory is freed and finally the browser is left running for an hour to see if memory consumption remains flat.

Here are the steps in case you want to reproduce:

1. Visited The New York Times, clicked on Technology section, open a couple of articles

2. Visited Digg, clicked on Upcoming and clicked on pages 2 and 3

3. CNET News, clicked on each of the top three stories. Get back to the homepage afte reach

4. To cover international support, I visited the Russian and

5. Chinese Editions of Wikipedia. I then clicked on the first link in the left sidebar on each and then went back to the main page.

A. I took a first measure here.

6. Visited this YouTube video, view the video and one more from the right related videos sidebar.

7. On Gmail, I logged in, composed an email with 2 large images (about 2MB each), sent it to myself, and then opened the received email.

8. On Google Docs, I created a new text document, wrote a five word sentence, made it bold, centered it, added a small 20K GIF image and saved the document.

9. I visisted Netvibes, visit all the default tabs, change the page title and added a short item to the todo list

B. Second measure here.

10. Then closed Netvibes and You Tube and waited 20 seconds for Firefox to do its cleanup.

Full Article

Mozilla, Firefox, Firefox 3, Beta, Browser, Performance, Features

Share This Story, Choose Your Platform!

Do NOT follow this link or you will be banned from the site!