Note that we should also build with -O3 to get the best out of PGO - see https://bugzilla.mozilla.org/show_bug.cgi?id=590181
@Sam Tygier - re comment #135 - unless I am understanding what I've read in the Mozilla bugs incorrectly, -Os seems to be an alternative to -O1/O2/O3, and as such, is separate to PGO. Is this correct, and if so what should I look for in about:buildconfig to confirm the use of PGO? I couldn't find this in the Mozilla bugs. ** Bug watch added: Mozilla Bugzilla #590181 https://bugzilla.mozilla.org/show_bug.cgi?id=590181 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/213708 Title: Please compile Firefox with PGO optimizations Status in XUL + XPCOM application runner: Fix Released Status in “firefox” package in Ubuntu: Triaged Status in “firefox-3.0” package in Ubuntu: Won't Fix Status in “firefox-3.1” package in Ubuntu: Won't Fix Status in “xulrunner-1.9” package in Ubuntu: Won't Fix Status in “xulrunner” package in Debian: New Status in “firefox-3.0” package in openSUSE: New Bug description: Binary package hint: xulrunner-1.9 I've been using Arch Linux for the last 3 months. Now, I'm back on Ubuntu because I got tired of configuring. Configuring never ends. However, for Arch Linux, I made the best Firefox 3 package ( http://aur.archlinux.org/packages.php?ID=15184 ), which includes PGO optimizations ( http://developer.mozilla.org/en/docs /Building_with_Profile-Guided_Optimization ). The Windows version is PGO optimised. People will hate the Ubuntu version knowing that the Windows version is so much faster. The official mozilla nightlies are PGO optimised. This was a test I did on Arch Linux, which is compiled against i686: Firefox 3 Beta 3 on the left. Firefox 3 Beta 4 with Profile Guided Optimisations on the right: http://www.paste2.org/p/15666 This is what I got with this build https://bugs.launchpad.net/gutsy- backports/+bug/212468 http://tinyurl.com/6fv8aq 7 times slower. I'm not sure how much i686 helps. But, my i686 PGO was 3 times faster than my normal i686. There are no regressions. It just works. I've attached how it was compiled and the mozconfig. To manage notifications about this bug go to: https://bugs.launchpad.net/xulrunner/+bug/213708/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

