You are not logged in.

#1 2008-03-16 12:38:22

el mariachi
Member
Registered: 2007-11-30
Posts: 595

How can I optimize Firefox for my machine?

I'm don't have any knowledge on programming, but recently I've found that one can build a custom firefox build using a tool called mozconf.

I've been looking around but I can't find all the answers...
How can I find out what options fit my machine in order to make firefox run as fast as it can (optimized custom build big_smile)? Is there in-depth documentation online, like relations between the options and values and hardware/software specs?

Thanks y'all!

ps: I'm talking about the latest Beta4 wink

Offline

#2 2008-03-16 13:17:44

imagelife
Member
From: China
Registered: 2008-01-10
Posts: 49

Re: How can I optimize Firefox for my machine?

hey,guy!
look at this http://wiki.archlinux.org/index.php/Firefox
it will help you!


just want to tell you!…………

Offline

#3 2008-03-16 13:25:31

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: How can I optimize Firefox for my machine?

thanks, but it doesn't explain how to make what I want :s

Offline

#4 2008-03-16 14:26:39

Endperform
Member
From: Atlanta GA, USA
Registered: 2007-09-04
Posts: 94
Website

Re: How can I optimize Firefox for my machine?

You're probably going to need to go to the Mozilla site and check out their documentation to see how to build from source.  I'm just curious, though, is FF3 really slow that you want to try to optimize it?  It's running fine here.

Offline

#5 2008-03-16 15:12:14

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: How can I optimize Firefox for my machine?

no, it's pretty fast and light. I'm just a speed freak big_smile
I'm looking for a way to make it run faster on my old PIII though (not my main machine)

Offline

#6 2008-03-16 15:36:18

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: How can I optimize Firefox for my machine?

just compile it with -march=pentium3 -O2 -pipe -fomit-frame-pointer

apprently -O3 is swiftfox's cry for glory so you may want that instead of -O2


I need real, proper pen and paper for this.

Offline

#7 2008-03-16 15:38:34

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: How can I optimize Firefox for my machine?

-02 and 03? what are those options for?

Offline

#8 2008-03-16 16:02:43

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: How can I optimize Firefox for my machine?

Level of optimization..read http://gentoo-wiki.com/Safe_Cflag


I need real, proper pen and paper for this.

Offline

#9 2008-03-16 17:00:41

miggols99
Member
Registered: 2007-06-10
Posts: 424

Re: How can I optimize Firefox for my machine?

You might want to look at Swiftweasel. It's available in the AUR.

Offline

#10 2008-03-16 19:13:53

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: How can I optimize Firefox for my machine?

I'm using now. Not THAT much difference though

Offline

#11 2008-03-18 17:11:38

twizller
Member
From: Hamilton, ON
Registered: 2007-10-24
Posts: 9

Re: How can I optimize Firefox for my machine?

schivmeister wrote:

just compile it with -march=pentium3 -O2 -pipe -fomit-frame-pointer

apprently -O3 is swiftfox's cry for glory so you may want that instead of -O2

If you have set the CFLAGS in /etc/makepkg.conf, and when you compile something, does it compile it with the flags set?

Offline

#12 2008-03-18 17:48:42

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: How can I optimize Firefox for my machine?

Yes, that's what makepkg.conf and make.conf are for in Arch and Gentoo respectively. Any other special and/or exclusive flags needed will already be set by the default Makefile of the build in concern, so you don't need to worry about those.


I need real, proper pen and paper for this.

Offline

#13 2008-03-19 11:58:29

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: How can I optimize Firefox for my machine?

Build FF3 from aur with -O3 -march=native and -fulrolls-loop (ar whatever it is)

Last edited by Mr.Elendig (2008-03-19 12:05:54)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#14 2008-03-19 12:17:29

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: How can I optimize Firefox for my machine?

Also note that '-O3' could increase startup time together with performance. And actually the major source of slowness for me in firefox is the startup time the first time I launch it. In my little experiments, a slightly slower startup time can be obtained using '-Os' and not '-O3', in order to get a smaller binary.


Mortuus in anima, curam gero cutis

Offline

#15 2008-03-19 12:33:57

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: How can I optimize Firefox for my machine?

patroclo7 wrote:

Also note that '-O3' could increase startup time together with performance. And actually the major source of slowness for me in firefox is the startup time the first time I launch it. In my little experiments, a slightly slower startup time can be obtained using '-Os' and not '-O3', in order to get a smaller binary.

I thought that -O3 would decrease original starting time (first start after a reboot), but then after that it would be faster both to startup and to run than -Os or -O2, but take up more RAM.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#16 2008-03-19 12:42:39

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: How can I optimize Firefox for my machine?

Yes, this is what I meant, if I understand correctly what you say. When I say that -03 "could increase startup time" I mean "it will be slower to start the first time after reboot" (time increased = firefox slower). And in my experience the original starting time of firefox is the only thing which  really is unbearably slow in firefox.

Last edited by patroclo7 (2008-03-19 12:43:46)


Mortuus in anima, curam gero cutis

Offline

#17 2008-03-20 14:05:11

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: How can I optimize Firefox for my machine?

yes, It lags a bit on first start too.

Offline

#18 2008-03-21 14:12:40

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: How can I optimize Firefox for my machine?

what about using the webkit engine? can it be done?

Offline

Board footer

Powered by FluxBB