More Mozilla Optimization references
Tim Wunder
tim
Mon May 17 11:37:45 PDT 2004
For those who may care:
http://tushar.lfsforum.org/mozilla.txt
Has a lot of info, I looked thru some, looked interesting.
and from a post to netscape.public.mozilla.general:
<quote>
I'm running a 1.2 Gentoo distro, 2.4Gz / 512MB Ram, using gcc 2.95.3 20010315, uname -a is "Linux linux2.mesben.dk 2.4.19-gentoo-r7 #7 Sat Aug 31 22:26:51 CEST 2002 i686 GenuineIntel". Startup times: a few seconds, feels quite snappish. I'm told startup times are due to using a pre 3.0 compiler, but I can't seem to get gcc 3.2 to work in addition to 2.95 with gentoo :-( I plan to get it to work, though :-)
.mozconfig: (much of the optimization options are worthless, nowadays, but hey.) Thanks to Mr. Hixie for this.
MOZ_NSS_AUTOCONF=1
MOZ_INTERNAL_LIBART_LGPL=1
MOZ_CALENDAR=1
NATIVE_THEME_SUPPORT=1
mk_add_options MOZ_CALENDAR=1
mk_add_options MOZ_INTERNAL_LIBART_LGPL=1
mk_add_options NATIVE_THEME_SUPPORT=1
mk_add_options MOZ_NSS_AUTOCONF=1
# enable lots of addons
ac_add_options --enable-crypto
ac_add_options --enable-mathml
ac_add_options --enable-svg
ac_add_options --enable-xsl
ac_add_options --enable-extensions=default,xmlterm,access-builtin,p3p
#ac_add_options --enable-xterm-updates
#ac_add_options --enable-ctl
# pick a toolkit
ac_add_options --with-gtk
ac_add_options --enable-toolkit=gtk
# optimise
ac_add_options --enable-strip-libs
ac_add_options --enable-elf-dynstr-gc
ac_add_options --enable-optimize="-O6 -finline -finline-functions -fdefault-inline -fno-omit-frame-pointer -fexpensive-optimizations -march=i686 -mcpu=i686"
ac_add_options --disable-debug
</quote>
I asked regarding the -O6 he's using and, apparently, it's changed to -O3 when using a 2.95.x compiler, he just hasn't changed it.
("He" is Esben Mose Hansen -- and I'm assuming he's a he -- and he got the info from a post by Ian Hickson, who's been working on the Mozilla project for quite some time)
FWIW, I *still* haven't gotten around to rebuilding Mozilla, it's on the todo list, as soon as I figger out WTF's wrong with my system that I keep getting f'ing atexit errors...
Regards,
Tim
More information about the Linux-users
mailing list