Repository navigation
perf(elf): parallelize full-LTO section population - #80
Merged
Merged
Conversation
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #81.
This supersedes the rejected splice experiment tracked by #79.
What changed
perf/linux/**,perf/windows/**,perf/macos/**, orperf/all/**, with manual dispatch defaulting to Linux and schedules retaining all platforms.Why
The retained Rust full-LTO input has 71,604 sections and 3.15 million debug relocations. About 2.47 million are concentrated in one sorted
.rela.debug_infostream, so section-level parallelism could not use all four runner cores. Exact hosted instrumentation measured 147.0 ms in monolithic relocation versus only 22.1 ms in population, identifying intra-section relocation sharding as the highest-value remaining optimization.Platform-scoped benchmark branches prevent Linux performance iteration from allocating unrelated macOS and Windows runners. The final cross-platform evidence remains explicit rather than being paid on every candidate.
Hosted benchmark evidence
Final all-platform source run: https://github.com/zackees/reld/actions/runs/32916339512
At source commit
0fc685ccon x86_64 Linux:That run passed Linux, Windows, and macOS executable verification, coverage, concrete-engine metadata, startup significance, exact-SHA, and graph-rendering gates.
Exact current-HEAD Linux-only run: https://github.com/zackees/reld/actions/runs/32918511923
At commit
1b9c875e:Validation
Rejected alternatives
Exact hosted runs rejected splice, finish-time mmap copy, and whole-debug-section parallelism. The PR retains only the measured winning paths.