diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2015-03-17 03:29:32 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2015-03-17 03:29:32 +0000 |
commit | baf1aaaf1fb7fe2f543ffe2515641dd2f5c9d635 (patch) | |
tree | 57c5223f7c2a43afd77136c66636dd49ebf11b54 /lldb/scripts/Python/python-wrapper.swig | |
parent | e0afb1fe6c2facf927321f8f8e13851293df9796 (diff) | |
download | bcm5719-llvm-baf1aaaf1fb7fe2f543ffe2515641dd2f5c9d635.tar.gz bcm5719-llvm-baf1aaaf1fb7fe2f543ffe2515641dd2f5c9d635.zip |
[ELF] Use parallel_for_each for writing.
This changes improves performance of lld, when self-hosting lld, when compared
with the bfd linker. BFD linker on average takes 8 seconds in elapsed time.
lld takes 3 seconds elapased time average. Without this change, lld takes ~5
seconds average. The runtime comparisons were done on a release build and
measured by running linking thrice.
lld self-host without the change
----------------------------------
real 0m3.196s
user 0m4.580s
sys 0m0.832s
lld self-host with lld
-----------------------
user 0m3.024s
user 0m3.252s
sys 0m0.796s
time taken to build lld with bfd
--------------------------------
real 0m8.419s
user 0m7.748s
sys 0m0.632s
llvm-svn: 232460
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions