[cfe-commits] r69987 - in /cfe/trunk: include/clang/Frontend/PCHBitCodes.h include/clang/Lex/HeaderSearch.h lib/Frontend/PCHReader.cpp lib/Frontend/PCHWriter.cpp lib/Lex/HeaderSearch.cpp lib/Lex/PPLexerChange.cpp test/PCH/objc_import.h test/PCH/objc_import.m
Douglas Gregor
dgregor at apple.com
Fri Apr 24 13:52:36 PDT 2009
On Apr 24, 2009, at 1:49 PM, steve naroff wrote:
> Here are the PCH stats (which jive with my previous email).
>
> *** PCH Statistics:
> 2/26104 types read (0.007662%)
> 2/70883 declarations read (0.002822%)
> 589/51520 identifiers read (1.143245%)
> 0/34753 statements read (0.000000%)
> 550/6275 macros read (8.764940%)
> 0/5012 lexical declcontexts read (0.000000%)
> 0/4499 visible declcontexts read (0.000000%)
>
> snaroff
Thanks for checking this. We should think about making the include-
guard information lazy, so that we can avoid loading those 550 macros.
Previously, the Carbon.h-prefixed "Hello, World" was loading in only 5
macros.
- Doug
More information about the cfe-commits
mailing list