Skip to content

perf(elf): extend the Wild fork to a full-LTO lead over mold - #83

Merged
zackees merged 4 commits into
mainfrom
perf/linux/issue-82-debug-target-cache
Aug 26, 2026
Merged

zackees merged 4 commits into
mainfrom
perf/linux/issue-82-debug-target-cache

Conversation

@zackees

@zackees zackees commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Closes #82.

What changed

  • process regular and thin archive members in parallel while preserving archive order and deterministic error selection
  • preflight large sorted debug relocation sections in parallel before safely sharding their output ranges
  • decode exact relocation write sizes only near shard boundaries instead of repeating type decoding for every relocation
  • preserve serial fallback for unsorted, overlapping, out-of-bounds, or otherwise unsafe relocation inputs

Evidence

Linux-only hosted benchmark run: https://github.com/zackees/reld/actions/runs/32937802814

Linker full-LTO median
reld 0.2740 s
mold 0.3089 s

reld is 11.3% faster than mold (0.2740 / 0.3089 = 88.7%), clearing the issue's 10% lead target. All expected Linux linkers were measured with no silent N/A, and the report identifies source SHA e706c8d11ad6fc97c0cc906acdfdf107dadb6122.

A final all-platform workflow dispatch is running at https://github.com/zackees/reld/actions/runs/32938949262.

Validation

  • RED then GREEN: archive parallelism/order and deterministic error tests
  • RED then GREEN: parallel debug relocation preflight equivalence, safety fallback, tail error, and reduced decode-count tests
  • soldr cargo test -p reld-core --no-default-features -- --skip tidy_tests::check_toml_format (167 passed plus doc tests; Taplo-only formatting check separately excluded because Taplo is absent locally)
  • pre-push Rust review clean

@zackees

zackees commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator Author

Final exact-SHA performance gate passed: Linux benchmark run 32945841290, SHA c23aaa4673a6d1bb66e17e5e27f199ed4b94ab18, full-LTO reld 0.2804s vs mold 0.3333s — reld is 15.9% faster. All expected linkers were measured, startup remained separately reported (reld 0.0019s), and every CI/linker-mode/artifact check is green across Linux, macOS, and Windows.

@zackees
zackees merged commit 187472e into main Aug 26, 2026
19 checks passed
@zackees
zackees deleted the perf/linux/issue-82-debug-target-cache branch August 26, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf(elf): extend the Wild fork to a 10% full-LTO lead over mold

1 participant