[cfe-commits] r54794 - in /cfe/trunk: include/clang/Lex/Token.h include/clang/Parse/Parser.h lib/Lex/Lexer.cpp lib/Parse/Parser.cpp lib/Sema/Sema.cpp lib/Sema/Sema.h lib/Sema/SemaExpr.cpp lib/Sema/SemaExprObjC.cpp

Chris Lattner clattner at apple.com
Sat Aug 23 19:22:09 PDT 2008

On Aug 23, 2008, at 6:49 PM, Daniel Dunbar wrote:
> And for reference, 1000 times running 'true' on my system:
> real    0m1.594s
> user    0m0.309s
> sys    0m1.143s

Is this /usr/bin/true or true built into the shell?

> So it looks like the premain amount of overhead is pretty high  
> compared
> to the actual work we do. Static constructors aren't free?

Yeah, it looks that way.  Question is, how do we identify which ctors  
are the problem? :)


More information about the cfe-commits mailing list