Repository navigation
A cold just check and just test builds in half the time (closes #623) - #626
Merged
Merged
Conversation
The debug profile optimised every dependency, macros and build scripts included. Only the crates the tests run hard are optimised now: photographs and WebP, inflate/deflate, the PDF reader, the HTML parser, SQLite, Argon2, hashing and case folding. From an empty cache the cargo steps of just check and just test go from 28.3 to 15.6 minutes; the warm test run is 3.7% slower. Closes #623 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgbCESE7tSxLeK86m8
4 tasks done
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
Closes #623. Timing tables and the 2026-11-15 clearing are on the issue.
Evidence
Cold, cargo steps of
just check+just test, empty target folder, 4 cores:After: 938 s (clippy 252 s, test build 398 s, test run 250 s)
Warm test run, two runs each: 224 / 226 s before, 235 / 232 s after (+3.7%).
just checkandjust testpass in full mode.Merge Danger
Door: two-way
A revert restores the old profile; the next build recompiles the dependencies.
Blast Radius: developer builds
Debug builds only: the release profile and the image are untouched. The first build after merging recompiles every dependency (about 11 minutes cold). A test that leans on a dependency not on the list runs slower; the comment in
Cargo.tomlsays how to add one.🤖 Generated with Claude Code
https://claude.ai/code/session_013rPDLgbCESE7tSxLeK86m8