[all-commits] [llvm/llvm-project] ad9323: [lld-macho] Parallelize scanning the symbol tables...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Fri Nov 12 17:57:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad932320d89684e23f7952e54bc90c96598db1a3
      https://github.com/llvm/llvm-project/commit/ad932320d89684e23f7952e54bc90c96598db1a3
  Author: Vy Nguyen <vyng at google.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M lld/MachO/Driver.cpp

  Log Message:
  -----------
  [lld-macho] Parallelize scanning the symbol tables in export/unexport-ing.

(Split from D113167)
Benchmarking on one of our large apps which exports a few thousands symbols,
this showed an improvement of ~17%.

x ./LLD_no_parallel.txt
+ ./LLD_with_parallel.txt

    N           Min           Max        Median           Avg        Stddev
x  10         84.01         89.41         88.64        87.693     1.7424061
+  10          71.9         74.29         72.63        72.753    0.77734663
Difference at 95.0% confidence
	-14.94 +/- 1.26763
	-17.0367% +/- 1.44553%
	(Student's t, pooled s = 1.34912)

(wallclock)

Differential Revision: https://reviews.llvm.org/D113820




More information about the All-commits mailing list