[lld] r308544 - Speed up gdb index creation.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 02:06:16 PDT 2017


>This is awesome!

>
>At least in these rough measurements, we still seem to be 5.2 vs 4.9 seconds, so LLD is about 6% slower, which suggests that there's still some opportunities for single->thread speedup (unless gold's implementation is of gdb-index is hyperoptimized, though I doubt it). We generally have found that with decent profiling, we can >generally be measurably faster than gold in the single-threaded case. Or in other words, say we target being at least 10% faster than gold than gdb-index as >reasonable to achieve with some profiling. Then we have 6+10 = 16% speedup on the table, which is fairly significant.
>
>-- Sean Silva

Yeah. I prepared a patch D36077? which eliminates known slowdown because of using std::find for relocations,
and going to profile building index with it applied to find another narrow places.

George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170731/c567bba2/attachment.html>


More information about the llvm-commits mailing list