diff options
author | Rui Ueyama <ruiu@google.com> | 2017-12-27 08:59:52 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-12-27 08:59:52 +0000 |
commit | 6ec880d9b58177fe3001dcd92ad6830333fd6793 (patch) | |
tree | 784f7d3c42f7cc57fd72c2a75eedc9e7264e528b /openmp/runtime/doc/doxygen/libomp_interface.h | |
parent | fb2fd20f508ead839d2fc43994cacd549f53c21c (diff) | |
download | bcm5719-llvm-6ec880d9b58177fe3001dcd92ad6830333fd6793.tar.gz bcm5719-llvm-6ec880d9b58177fe3001dcd92ad6830333fd6793.zip |
Improve performance TokenizeWindowsCommandLine
Patcy by Takuto Ikuta.
This patch reduces lld link time of chromium's blink_core.dll in
component build.
Total size of input argument in .directives become nearly 300MB in the
build and calling many strchr and assert becomes bottleneck.
On my desktop machine, 4 times stats of the link time are like below.
Improved around 10%.
This patch
TotalSeconds : 13.4918885
TotalSeconds : 13.9474257
TotalSeconds : 13.4941082
TotalSeconds : 13.6077962
Avg : 13.63530465
master
TotalSeconds : 15.6938531
TotalSeconds : 15.7022508
TotalSeconds : 15.9567202
TotalSeconds : 14.5851505
Avg : 15.48449365
Differential Revision: https://reviews.llvm.org/D41590
llvm-svn: 321479
Diffstat (limited to 'openmp/runtime/doc/doxygen/libomp_interface.h')
0 files changed, 0 insertions, 0 deletions