HomePhabricator

Parallelize string merging.

Description

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

Details

Committed
ruiuSep 30 2017, 4:46 AM
Differential Revision
D38266: Parallelize string merging.
Parents
rL314587: [clangd] simplify ClangdLSPServer by private-inheriting callback interfaces. NFC
Branches
Unknown
Tags
Unknown