[PATCH] D131247: [ELF] Parallelize writes of different OutputSections

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 07:33:11 PDT 2022


peter.smith added a comment.

On a M1 <https://reviews.llvm.org/M1> MacBook Air (8 GiB) using the lld speed test https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz I didn't see any significant differences with the patch. Both Chromium and Clang GDB index were within a small fraction of a percentage faster. Mozilla showed the largest difference with the patch being about 3% faster. I think most of the results are that this doesn't make a lot of difference on an M1 <https://reviews.llvm.org/M1>. Which isn't an ideal target to do benchmarking on, nor does it have many threads + some of the CPUs are efficiency cores. However it does at least show that this patch isn't going to harm results either.

LGTM for the benefits on other targets.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131247/new/

https://reviews.llvm.org/D131247



More information about the llvm-commits mailing list