[cfe-dev] Patch for ContextDecl

Argiris Kirtzidis akyrtzi at gmail.com
Mon Apr 7 19:03:50 PDT 2008


>>> 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

Can you try again with the attached patch ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: id-decl-map2.patch
Type: text/x-diff
Size: 10793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080407/9dfc13d0/attachment.patch>


More information about the cfe-dev mailing list