perf(release): drop lto=true and bump codegen-units #200
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos!200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_perf_release_profile"
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?
Summary
hero_archipelagos
[profile.release]hadlto = trueandcodegen-units = 1, which is the slowest possible config (LTO + no parallel codegen). Since this workspace ships only libraries (no binaries), LTO has nothing to optimize across, but it was still costing ~70s per full workspace build. Daily-sync runscargo build --release --workspacehere once per pass, so the savings compound.Related Issue
N/A — surfaced while diagnosing daily-sync wallclock.
Changes
lto = true→lto = falsecodegen-units = 1→codegen-units = 16Test Results
Full clean + workspace build measured locally on herodev: