[cfe-dev] Patch for ContextDecl

Chris Lattner clattner at apple.com
Sun Apr 6 15:28:04 PDT 2008


On Apr 6, 2008, at 3:24 PM, Argiris Kirtzidis wrote:

>>
>> That is a 6.1% slowdown on carbon.h and 4% slowdown on Cocoa.h.    
>> The number on this machine are very stable, three consecutive runs  
>> all produced the same timings.  While I really would like to have  
>> the cleanup, I don't think the cost is worth it.  When coming from  
>> a .i file (to reduce syscall/preprocessor overhead) the slowdown is  
>> 8.4% for carbon.h (0.119s -> 0.129s).
>>
>> What do you think?  If you want, I can provide you with a .i file  
>> of cocoa.h or carbon.h.
> Yes, that would be great! I wanted to test on something but couldn't  
> find something appropriate.

Here ya go:

http://nondot.org/sabre/misc

-Chris



More information about the cfe-dev mailing list