"Richard Fish" <[EMAIL PROTECTED]> writes:

> BTW, I measured the performance differences for the things I care
> about (compression, media encoding, and dm-crypt encryption), and
> ended up choosing -Os for my Core Duo system.  As James says, some
> things run faster, other things run slower.  And it isn't across the
> board...bzip2 -1 can give completely different results than bzip2 -9.
> The differences generally are within +/- 10% of the -O2 performance.
> 
> The major advantage to -Os (aside from smaller executables), is
> compile time.  Especially C++ programs take noticably less time to
> compile with -Os than with -O2 or -O3.

This alone would seem to make it worth while.

Thanks for the detailed input ... all posters

-- 
gentoo-user@gentoo.org mailing list

Reply via email to