FS#10596 - Build firefox3 with Profile-Guided Optimization
Attached to Project:
Arch Linux
Opened by Ramses de Norre (Ramses_de_Norre) - Thursday, 05 June 2008, 17:07 GMT
Last edited by Jan de Groot (JGC) - Thursday, 19 June 2008, 10:10 GMT
Opened by Ramses de Norre (Ramses_de_Norre) - Thursday, 05 June 2008, 17:07 GMT
Last edited by Jan de Groot (JGC) - Thursday, 19 June 2008, 10:10 GMT
|
Details
Description:
is it possible to build firefox3 with Profile-Guided Optimization? It is done for the official windows and mac builds and there is a package with it in AUR (http://aur.archlinux.org/packages.php?ID=15184). The build process is described here: http://developer.mozilla.org/en/docs/Building_with_Profile-Guided_Optimization Building firefox with this optimization seems to cause a huge performance win. |
This task depends upon
Closed by Jan de Groot (JGC)
Thursday, 19 June 2008, 10:10 GMT
Reason for closing: Won't implement
Additional comments about closing: This can't work when firefox is compiled with libxul. The profile script doesn't work with xulrunner yet.
Thursday, 19 June 2008, 10:10 GMT
Reason for closing: Won't implement
Additional comments about closing: This can't work when firefox is compiled with libxul. The profile script doesn't work with xulrunner yet.
I've looked at this feature and it looks quite easy to do. Just some options added to mozconfig and a different target for make -f client.mk.
Jan, when firefox3 goes final and then gets packaged as the actual firefox package, feel free to look into this if you want and you are a much better GUI program packager than I. Until then, my builds will not include PGO.
And it wasn't a shot at you at all when I mentioned no other dev was interested- this isn't the funnest package in the world to build and having to maintain two of them would kind of suck. :)
Shouldn't building packages be fully automated? In this case, simply running makepkg isn't enough.
I've attached a patch for the current firefox3 version in unstable.
Hussam is of course right, it at least requires some sort of X server to run the application. But perhaps the extra hassle is worth it for something as important as firefox.