Skip to content

perf(deps): require workshop-rs 1.18.0 - #776

Merged
Teakowa merged 1 commit into
mainfrom
chore/bump-workshop-rs-1.18.0
Oct 19, 2026
Merged

Teakowa merged 1 commit into
mainfrom
chore/bump-workshop-rs-1.18.0

Conversation

@e54-bot

@e54-bot e54-bot commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Fixes #775

Raises the workshop-rs requirement to 1.18.0 and updates Cargo.lock (only workshop-rs moves). No code changes.

Measured on the Bastion compiled output (main.ow, 471 KB, 8,213 lines, zh-CN; release build, raw Workshop check, 5 runs):

1.17.0 1.18.0
wall (warm) about 0.56 s 0.20–0.21 s (first run 0.56 s, cold binary)
peak RSS about 57–62 MB 58–63 MB

Deviation from the Issue's acceptance text: the tree has no allocation counter, so the "below 250 MB allocated" criterion was checked indirectly through wall time. The earlier counting-allocator run with the fix linked showed wright-side allocation falling from 790 MB to 158 MB for the same command.

cargo fmt --check, cargo clippy --workspace --all-targets -D warnings and cargo test --workspace pass with no test changes.

workshop-rs 1.18.0 borrows the cached gameplay catalog in the settings parser instead of cloning it per hero name match. On the Bastion compiled output (471 KB zh-CN) a raw Workshop check drops from about 0.56 s to about 0.20 s warm.

Fixes #775
@Teakowa
Teakowa merged commit fe04237 into main Oct 19, 2026
35 checks passed
@Teakowa
Teakowa deleted the chore/bump-workshop-rs-1.18.0 branch October 19, 2026 09:03
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Make Workshop Great Again Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Bump workshop-rs to 1.18.0 for the settings-parser allocation fix

2 participants