diff options
author | Rui Ueyama <ruiu@google.com> | 2017-09-30 11:46:26 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-09-30 11:46:26 +0000 |
commit | c97a70c6f530ee5d6c4635f970fe5dc44f1f59d2 (patch) | |
tree | e6711ad80f3f802ff0958de8cbe621f046889596 /clang/lib/Format/SortJavaScriptImports.cpp | |
parent | 4db732a7db8a0b69cc8086c899d0c03d1f1597e8 (diff) | |
download | bcm5719-llvm-c97a70c6f530ee5d6c4635f970fe5dc44f1f59d2.tar.gz bcm5719-llvm-c97a70c6f530ee5d6c4635f970fe5dc44f1f59d2.zip |
Parallelize string merging.
String merging is one of the most time-consuming functions in lld.
This patch parallelize it to speed it up. On my 2-socket 20-core
40-threads Xeon E5-2680 @ 2.8 GHz machine, this patch shorten the
clang debug build link time from 7.11s to 5.16s. It's a 27%
improvement and actually pretty noticeable. In this test condition,
lld is now 4x faster than gold.
Differential Revision: https://reviews.llvm.org/D38266
llvm-svn: 314588
Diffstat (limited to 'clang/lib/Format/SortJavaScriptImports.cpp')
0 files changed, 0 insertions, 0 deletions