[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Link-time optimization in debian packages



On Mon, Jun 06, 2011 at 01:15:29AM +0200, Adam Borowski wrote:
> Speed gains for compiled executables are great, though: around 20%[2].

It depends.  I have code where using -flto causes no significant
improvement (< 2%) in some cases and major performance losses (-7 to
-37%) in others.  This is not something that is a boon in every case and
certainly not something that should automatically be used project-wide.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


Reply to: