[lld] r308544 - Speed up gdb index creation.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 09:42:55 PDT 2017
George Rimar <grimar at accesssoftek.com> writes:
> I did these benchmarks today, used clang objects and reproduce from clang-gdb-index folder
> of lld-speed-test.tar.xz archive you posted earlier (thanks, btw !) and results are below:
>
> * ld.gold with --gdb-index: 26.54s
> * ld.lld with --gdb-index: 15.33s
> * ld.gold w/o --gdb-index: 21.65s
> * ld.lld w/o --gdb-index: 10.14s
>
> Both LLD and ld.gold spends about 5 seconds for building gdb-index.
Nice, I was not expecting that as we have a plain std::find over the
relocations :-)
In any case, we can profile and try to speed it up, but it is probably
good enough to try to parallelize too.
Cheers,
Rafael
More information about the llvm-commits
mailing list