diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-21 23:56:24 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-21 23:56:24 +0000 |
commit | c3366a555b382af03e207ce72a0ab14f3a0f6988 (patch) | |
tree | a6581b198fdc55286d563877f0a2572f78949918 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | fe95afd0bcb0561492bf3c2c4427a8e6cd908e6b (diff) | |
download | bcm5719-llvm-c3366a555b382af03e207ce72a0ab14f3a0f6988.tar.gz bcm5719-llvm-c3366a555b382af03e207ce72a0ab14f3a0f6988.zip |
Lazy deserialization of macro definitions for precompiled headers.
This optimization improves performance on the Carbon-prefixed "Hello,
World!" example by 57%. For reference, we're now about 2.25x faster
than GCC PCH. We're also pulling in far less of the PCH file:
*** PCH Statistics:
411/20693 types read (1.986179%)
2553/59230 declarations read (4.310316%)
1093/44646 identifiers read (2.448148%)
1/32954 statements read (0.003035%)
21/6187 macros read (0.339421%)
llvm-svn: 69755
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions