[llvm-branch-commits] [lld] [lld-macho] Collect markLive roots in parallel (PR #241684)
Jez Ng via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 11 23:21:29 PST 2026
int3 wrote:
## Results
This PR against #240243 on five large links. Each number is the 95% confidence interval of the change in the mean over 30 paired runs, on Linux (AMD Ryzen 7 7700, 8 cores, 16 threads) and macOS (Apple M4 Mac mini, 10 cores). rust-analyzer `-export_dynamic` is the rust-analyzer link with `-export_dynamic` added, which makes 285K of its symbols roots.
The only significant regression is Firefox iOS' `markLive` on macOS at 1 core, and it seems to be due to the luck of the draw in code layout & `realloc`. At about 2.5%, this doesn't seem too significant.
markLive:
| | Linux, 1 thread | Linux, all cores | macOS, 1 thread | macOS, all cores |
|---|---|---|---|---|
| Chromium | −0.8..+0.6% | −60.5..−57.8% | −0.9..+0.6% | −42.0..−41.3% |
| Firefox macOS | +0.3..+0.7% | −51.7..−51.1% | −0.6..+0.4% | −35.8..−34.5% |
| Firefox iOS | +0.1..+1.0% | −41.6..−40.8% | +1.8..+3.0% | −20.5..−18.8% |
| rust-analyzer | −0.2..+0.4% | −30.8..−30.1% | −3.0..+0.6% | −18.8..−17.1% |
| rust-analyzer `-export_dynamic` | +0.5..+1.1% | −41.2..−37.3% | −0.4..+2.3% | −26.7..−25.5% |
Wall time:
| | Linux, 1 thread | Linux, all cores | macOS, 1 thread | macOS, all cores |
|---|---|---|---|---|
| Chromium | −0.5..+0.7% | −1.6..−0.8% | −0.1..+0.6% | −1.5..−0.6% |
| Firefox macOS | +0.1..+0.5% | −2.1..−1.4% | −0.2..+0.2% | −1.2..−0.5% |
| Firefox iOS | −0.2..+0.5% | −1.4..−0.6% | −0.6..+0.1% | −1.0..−0.2% |
| rust-analyzer | −0.3..+0.3% | −0.8..−0.2% | +0.1..+0.7% | −0.7..+0.0% |
| rust-analyzer `-export_dynamic` | +0.0..+0.7% | −1.9..−1.1% | −0.2..+0.4% | −1.1..−0.4% |
https://github.com/llvm/llvm-project/pull/241684
More information about the llvm-branch-commits
mailing list