2010/7/8 Jakub Jelinek <jakub(a)redhat.com>:
Generally, much better speedup can be achieved by using PGO
(-fprofile-generate, run on some testsuite, -fprofile-use).
GCC itself is built that way for several years, but it would be useful if
other performance sensitive packages were built that way too, assuming they
have some testsuite which resembles common use.
E.g. bash can be easily trained on some configure or some other
large shell scripts, similarly for python, perl, ...
The speedups from this can go up to say 30% or so.
Jakub
--
It seems MeeGo builds core packages by using PGO already. Is there
anyone who would like to volunteer to write a packaging guideline
about using PGO?
Regards,
Chen Lei