Optimized versions of Firefox: are they worth it?

5

1

I've seen that some people have compiled themselves so-called "optimized" versions of Firefox, from the official source code.

One example of such an optimized build is the "Blazing Fast", from Binary Turf. They have versions 3.0.11 and 3.5.2 of Firefox optimized for CPUs supporting SSE and SSE2.

If you have a supported CPU (I guess nearly everyone can run the SSE2 version, as it's for Pentium 4 and above), is it worth installing it over the standard official Firefox release.

What are the advantages? Better speed loading and scrolling the pages? Javascript speedup? Memory usage (I doubt it)? Anything else?

Snark

Posted 2009-09-08T13:37:25.460

Reputation: 30 147

1I highly doubt you're gonna see any major improvements. – alex – 2009-09-08T13:41:42.893

Answers

7

BinaryTurf posted some numbers here.

Firefox, default on SunSpider:

Total:                  5306.4ms +/- 0.9%

Firefox, SSE2 optimized on SunSpider:

Total:                  5295.6ms +/- 1.7%

A net 0.2% speed improvement IF the numbers were spot on. They don't make a strong case for themselves.

There are SSE2 optimizations targeted at highly specialized desktop applications like Lightwave or specific Photoshop rendering algorithms, but Firefox has little in common with those. The bulk of my personal usage is spent fetching text via HTTP, or waiting for my internet connection to load pages. I can't think of a worse situation for an SSE2 optimization, and the results above seem to bear that out.

hyperslug

Posted 2009-09-08T13:37:25.460

Reputation: 12 882

1certainly nothing to write home about :) – None – 2009-09-08T15:07:06.073

6

In a nutshell: no.

Never believe any of the myths people spread on the net about browsers optimization techniques. Keep in mind that if there were a way to improve Firefox performance noticeably, the Mozilla folks would have already implemented it in the code.

tomorrow__

Posted 2009-09-08T13:37:25.460

Reputation: 927

5

On linux builds it almost definitely DOES make a difference because many popular distribution packages of firefox are built without Profile Guided Optimization.

Check out Swiftweasel, a tricked out firefox/mozilla build for linux.

akent

Posted 2009-09-08T13:37:25.460

Reputation: 640

I'm running Windows and thus more interested in optimized builds for Windows but it will surely be interesting for the Linux folks. – Snark – 2009-09-08T14:26:20.930

I'd like one as I suspect my VIA C7m is weird enough to make a default set of optimizations less than ideal.

All I need is the right little snippet to benchmark until I find the way that works best (too long to build the whole thing) – Ronald Pottol – 2009-09-08T21:36:58.893

1

If you can understand what this does inside mozconfig:

ac_add_options --enable-optimize="-Ox -GL -GY -GAFs -arch:SSE -fp:fast"

you can certainly understand what's optimized. Otherwise you can only argue.

Kamna

Posted 2009-09-08T13:37:25.460

Reputation: 11

1

I never test those version, only heard about them and I also doubt that you'll see major improvement.

Firefox 3.5.x branch already brings major performance boost.

Also before using those "modify" version, be aware of what has been done in it to "boost" them to be sure it can't be harmful such as integrated spyware...

Many OpenSource software are modified and this is not always for the best, just take the exemple of OpenOffice where many modified version are online and some are modified just to make users paid to use it, that is just BS because OOo is a free sotfware and some make people pay for it..

So I believe that some crooks may do the same with firefox...

Marc-Andre R.

Posted 2009-09-08T13:37:25.460

Reputation: 1 663