Repository navigation
Use line-table debuginfo for dev builds - #209
Merged
Merged
Conversation
Line tables for the crate and no debuginfo for dependencies: the debug binary drops from 108MB to 27MB and target/ from 1.5GB to 838MB, and backtraces keep file and line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 30, 2026
Merged
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.
Summary
Debug builds (and so
cargo test) now keep only line tables for thirdshift and no debuginfo for dependencies. The baseline for #174 is posted on #174.Evidence
Same machine (4 cores, rustc 1.98.1), run back to back. Load is the 1-minute average sampled every 5s during each command. Other Runs were active, so neither set is an idle-machine measurement for #174's targets, but the load was similar for both.
cargo test --no-runwallcargo testwalltarget/after cold buildThe cold build and the disk use improve. The warm suite barely moves: its time goes on starting processes, not on linking. #174's "half the CPU time" target still needs the later levers.
cargo testpasses (24 test binaries, 0 failures).RUST_BACKTRACE=1and then removed, still shows file and line:Merge Danger
Door: two-way
Delete the two profile blocks to go back.
Blast Radius: dev-builds
Only dev and test builds change.
releaseanddistare untouched, so shipped binaries are unchanged. Debugger locals are gone in dev builds, and dependency frames in backtraces lose file and line.Unaddressed findings
Standards
Spec
None.
Closes #202
🤖 Generated with Claude Code