|
楼主 |
发表于 2009-7-30 17:30:19
|
显示全部楼层
這是i686的mozconfig
prescott還額外加上了-msse3等參數
不過自己目前仍然不清楚
這樣子是否對提升性能有幫助
所以還在摸索中,需要一些小白鼠幫我測試- #optimize
- #ac_add_options --disable-optimize --enable-debug
- ac_add_options --enable-optimize
- ac_add_options --enable-profile-guided-optimization
- ac_add_options --disable-pedantic
- ac_add_options --disable-tests
- ac_add_options --disable-xprint
- ac_add_options --disable-mochitest
- ac_add_options --enable-xterm-updates
- ac_add_options --enable-optimize="-O3 -march=i686 -mtune=i686 -pipe -fomit-frame-pointer"
- #ac_add_options --enable-optimize="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
- #linux build
- ac_add_options --disable-installer
- ac_add_options --disable-updater
- ac_add_options --enable-official-branding
- ac_add_options --enable-application=browser --enable-libxul --enable-jemalloc
- #disable video for compatibility
- #ac_add_options --disable-ogg
- #Even more optimize
- ac_add_options --enable-jemalloc
- ac_add_options --enable-strip
- ac_add_options --enable-install-strip
- #disable print support
- #ac_add_options --disable-printing
- #remove unused/enable useful
- ac_add_options --enable-places
- ac_add_options --disable-crashreporter
- ac_add_options --disable-parental-controls
- ac_add_options --enable-safe-browsing
- #experimental
- #ac_add_options --enable-xpctools
- ac_add_options --disable-jvaxpcom
- #ac_add_options --enable-native-uconv
- #ac_add_options --disable-xpcom-obsolete
- #ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.1
- #Do we really need them?
- ac_add_options --enable-default-toolkit=cairo-gtk2
- ac_add_options --enable-pango
- ac_add_options --enable-svg
- ac_add_options --enable-canvas
- #mk_add_options AUTOCONF=autoconf213
- mk_add_options MOZ_MAKE_FLAGS=-j3
- mk_add_options MOZ_CO_PROJECT=browser
- mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
- mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
- export BUILD_OFFICIAL=1
- export MOZILLA_OFFICIAL=1
- mk_add_options BUILD_OFFICIAL=1
- mk_add_options MOZILLA_OFFICIAL=1
复制代码 |
|