Thin LTO and one codegen unit for the release profile #17
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from DexNom/VIctory. Originally posted by Daayben on 2026-11-25T18:38:19Z.
Adds
lto = "thin"andcodegen-units = 1to the release profile (Key-rs, Marvisak/VIctory#96, as carried by Belobug/VIctory-Belobug-AMD). The commit keeps Key as its author.The
diagprofile inheritsrelease, so diagnostics builds get slower too.Checked on Windows 11, RTX 4090, i9-10900F:
cargo build --locked --release -p victory --features diagnostics --bins: exit 0, 2 min 04 s from a warm dependency cachecargo test --locked --release -p victory-gpu: 188 passed, 0 failed, 3 ignored (benchmarks)No frame-time measurement in the game from me. Belobug reports no measurable frame-time change from this alone.
🤖 Generated with Claude Code
Imported from DexNom/VIctory. Originally posted by andrewDoing on 2026-11-27T00:23:04Z.
Independent Windows x64 release A/B at
20019d8versus parent2e01ab4on Ryzen 7 5700X3D. Only the Cargo profile differs. The unmodifiedvictory translate --jobs 1processed 4,000 distinct synthetic packed compute programs in each run; both emitted all 4,000, 24,000 IR instructions, and byte-identical CLI summaries.Six alternating fresh-process samples per profile after one warm-up each gave parent median 0.518 s (range 0.504–0.671) and candidate 0.522 s (0.483–0.672), so this short single-kernel-family workload showed no clear throughput difference. The PE shrank from 9,939,968 to 9,678,848 bytes (2.6%). This is not a general translation or frame-time claim.
Verification was AI-assisted with GPT-6.2 Astra.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.