Skip to content

Reduce warm workspace build overhead - #176

Open
charliermarsh wants to merge 1 commit into
charlie/ruff-devloop-cargo-metadatafrom
charlie/ruff-devloop-workspace-overhead
Open

charliermarsh wants to merge 1 commit into
charlie/ruff-devloop-cargo-metadatafrom
charlie/ruff-devloop-workspace-overhead

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Warm workspace builds repeat artifact setup and dependency-file work across roots. For human-readable output, skip artifact setup when there are no linked destinations. Avoid annotation allocations when manifest source information is unavailable, and reuse parsed dep-info across roots after compilation finishes. Preserve the existing target selection for multi-output units.

On a warm, unchanged Ruff workspace, paired wall-time reductions against the original #175 were:

Command Reduction 99% interval
cargo check --workspace 0.5% −5.1–5.5%
cargo build --workspace 13.8% 10.8–16.7%
cargo test --workspace --no-run 2.3% −4.0–8.1%

Only the build result was conclusive. Measurements ran on one Linux host before the restack, with 240 build pairs and 80 pairs for each other command; all host-load-flagged pairs were retained.

@charliermarsh
charliermarsh force-pushed the charlie/ruff-devloop-workspace-overhead branch from 13523a0 to 5a16c75 Compare October 21, 2026 11:33
@charliermarsh
charliermarsh added this pull request to stack #166 October 21, 2026 11:33
@charliermarsh
charliermarsh marked this pull request as ready for review October 21, 2026 11:34
@charliermarsh
charliermarsh removed this pull request from stack #166 October 23, 2026 16:31
@charliermarsh
charliermarsh added this pull request to stack #227 October 23, 2026 16:32
@charliermarsh
charliermarsh removed this pull request from stack #227 October 25, 2026 13:06
@charliermarsh
charliermarsh added this pull request to stack #241 October 25, 2026 13:06
@charliermarsh
charliermarsh removed this pull request from stack #241 October 27, 2026 02:57
@charliermarsh
charliermarsh added this pull request to stack #252 October 27, 2026 02:57
@charliermarsh
charliermarsh removed this pull request from stack #252 October 27, 2026 15:06
@charliermarsh
charliermarsh added this pull request to stack #255 October 27, 2026 15:06
@charliermarsh
charliermarsh removed this pull request from stack #255 October 27, 2026 21:36
@charliermarsh
charliermarsh added this pull request to stack #257 October 27, 2026 21:36
@charliermarsh
charliermarsh removed this pull request from stack #257 October 28, 2026 00:23
@charliermarsh
charliermarsh added this pull request to stack #259 October 28, 2026 00:23
@charliermarsh
charliermarsh removed this pull request from stack #259 October 28, 2026 17:21
@charliermarsh
charliermarsh added this pull request to stack #272 October 28, 2026 17:21
@charliermarsh
charliermarsh removed this pull request from stack #272 October 28, 2026 17:42
@charliermarsh
charliermarsh added this pull request to stack #273 October 28, 2026 17:42
@charliermarsh
charliermarsh removed this pull request from stack #273 October 29, 2026 04:52
@charliermarsh
charliermarsh added this pull request to stack #278 October 29, 2026 04:53
@charliermarsh
charliermarsh removed this pull request from stack #278 October 29, 2026 14:06
@charliermarsh
charliermarsh added this pull request to stack #290 October 29, 2026 14:06
@charliermarsh
charliermarsh removed this pull request from stack #290 October 30, 2026 02:25
@charliermarsh
charliermarsh added this pull request to stack #295 October 30, 2026 02:25
@charliermarsh
charliermarsh removed this pull request from stack #295 October 31, 2026 13:06
@charliermarsh
charliermarsh added this pull request to stack #329 October 31, 2026 13:07
@charliermarsh
charliermarsh removed this pull request from stack #329 October 31, 2026 18:02
@charliermarsh
charliermarsh added this pull request to stack #331 October 31, 2026 18:02
@charliermarsh
charliermarsh removed this pull request from stack #331 November 1, 2026 01:58
@charliermarsh
charliermarsh added this pull request to stack #364 November 1, 2026 01:58
@charliermarsh
charliermarsh removed this pull request from stack #364 November 1, 2026 11:41
@charliermarsh
charliermarsh added this pull request to stack #383 November 1, 2026 11:41
@charliermarsh
charliermarsh removed this pull request from stack #383 November 1, 2026 18:29
@charliermarsh
charliermarsh force-pushed the charlie/ruff-devloop-workspace-overhead branch from 5a16c75 to 9a7258b Compare November 17, 2026 06:26
@charliermarsh
charliermarsh added this pull request to stack #542 November 17, 2026 06:29
@charliermarsh
charliermarsh force-pushed the charlie/ruff-devloop-workspace-overhead branch from 9a7258b to 6d5ffa7 Compare November 17, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant