diff options
author | Greg Clayton <gclayton@apple.com> | 2010-09-15 08:33:30 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-09-15 08:33:30 +0000 |
commit | d88d759a74f1b79cdd45b27f5c1c56cf2d0a472e (patch) | |
tree | fe6ab655ca6d1f73ed87749b6b97a65bb5e3e9e0 /llvm/lib/CompilerDriver/CompilationGraph.cpp | |
parent | c288cda3d5259e5c73e29fdbc5d2499c37427364 (diff) | |
download | llvm-d88d759a74f1b79cdd45b27f5c1c56cf2d0a472e.zip llvm-d88d759a74f1b79cdd45b27f5c1c56cf2d0a472e.tar.gz llvm-d88d759a74f1b79cdd45b27f5c1c56cf2d0a472e.tar.bz2 |
15-20% speed improvement when parsing DWARF. I used instruments to
find the hotspots in our code when indexing the DWARF. A combination of
using SmallVector to avoid collection allocations, using fixed form
sizes when possible, and optimizing the hot loops contributed to the
speedup.
llvm-svn: 113961
Diffstat (limited to 'llvm/lib/CompilerDriver/CompilationGraph.cpp')
0 files changed, 0 insertions, 0 deletions