Repository navigation
Build wall-time benchmarks on a larger runner - #22659
Merged
Merged
Conversation
charliermarsh
temporarily deployed
to
automations
October 16, 2026 19:57 — with
GitHub Actions
Inactive
Merging this PR will degrade performance by 13.05%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ |
Simulation | discover_workspace_from_all_members |
123.7 ms | 146.9 ms | -15.8% |
| ❌ |
Simulation | discover_workspace_from_all_members_with_excludes |
139.6 ms | 155.4 ms | -10.2% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing charlie/benchmark-build-runners (41a001d) with main (c42c495)
Footnotes
-
54 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
This was referenced Oct 16, 2026
charliermarsh
changed the base branch from
charlie/benchmark-marker-sampling
to
charlie/benchmark-warm-git
October 16, 2026 21:02
charliermarsh
force-pushed
the
charlie/benchmark-build-runners
branch
from
October 16, 2026 21:02
8005465 to
d09cf05
Compare
charliermarsh
temporarily deployed
to
automations
October 16, 2026 21:03 — with
GitHub Actions
Inactive
charliermarsh
added a commit
that referenced
this pull request
Oct 16, 2026
We currently repopulate the warm Git cache each time Criterion invokes the benchmark callback. Populate it once per selected benchmark and reuse it across warmup and samples. | PR | Change | Build + run | vs baseline | vs previous | Elapsed | |---|---|---:|---:|---:|---:| | [#22651](#22651) | Baseline | 35m28s | — | — | 40m53s | | **[#22657](#22657 | **Warm Git cache fix** | **24m48s** | **−10m40s** | **−10m40s** | **25m47s** | | [#22658](#22658) | Marker sampling | 23m38s | −11m50s | −1m10s | 25m07s | | [#22659](#22659) | Larger build runners | 20m01s | −15m27s | −3m37s | 21m14s | | [#22660](#22660) | Zstd artifacts | 17m25s | −18m03s | −2m36s | 18m39s | | [#22656](#22656) | Sharding | 14m58s | −20m30s | −2m27s | 15m51s | Rows are cumulative measurements from the original marker-based stack, including the removed marker-sampling layer, before rebasing onto `main`; this PR was measured at `9f8a992`. Build + run sums the build job and longest wall-time job; elapsed includes queueing. These are single runs, so build and network variation affect the differences ([CI run](https://github.com/astral-sh/uv/actions/runs/38958624816)).
charliermarsh
force-pushed
the
charlie/benchmark-build-runners
branch
from
October 16, 2026 21:23
d09cf05 to
1f8fb47
Compare
charliermarsh
temporarily deployed
to
automations
October 16, 2026 21:24 — with
GitHub Actions
Inactive
charliermarsh
force-pushed
the
charlie/benchmark-build-runners
branch
from
October 16, 2026 23:50
1f8fb47 to
11672ac
Compare
charliermarsh
temporarily deployed
to
automations
October 16, 2026 23:50 — with
GitHub Actions
Inactive
charliermarsh
force-pushed
the
charlie/benchmark-build-runners
branch
from
October 17, 2026 00:20
11672ac to
41a001d
Compare
charliermarsh
temporarily deployed
to
automations
October 17, 2026 00:22 — with
GitHub Actions
Inactive
charliermarsh
marked this pull request as ready for review
October 17, 2026 01:04
charliermarsh
added a commit
that referenced
this pull request
Oct 17, 2026
Compress the wall-time benchmark artifact with multithreaded zstd and disable GitHub's additional compression to reduce packaging and upload time. | PR | Change | Build + run | vs baseline | vs previous | Elapsed | |---|---|---:|---:|---:|---:| | [main](c42c495) | Baseline | 20m40s | — | — | 21m48s | | #22659 | Larger build runner | 16m34s | −4m06s | −4m06s | 18m20s | | **#22660** | **Zstd artifacts** | **15m40s** | **−5m00s** | **−54s** | **17m25s** | | #22656 | Sharding | 14m11s | −6m29s | −1m29s | 16m15s | Measured once per revision against `main` (`c42c495781`), which includes the warm Git fix and one codegen unit. All runs restored matching caches and rebuilt the same 389 profiling dependencies. The PRs use 16 cores for the wall-time build; the baseline uses 4. Simulation uses 4 cores throughout. Setup and transfer times vary. Build + run adds the wall-time build job and longest wall-time execution job. Elapsed includes waiting and ends when all benchmark jobs finish. [Baseline run](https://github.com/astral-sh/uv/actions/runs/38983188705) · [Run for this change](https://github.com/astral-sh/uv/actions/runs/38985960345) (`f87a942a58`).
This branch was previously deployed
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.
Move the wall-time benchmark build from a 4-core to a 16-core Depot runner so the benchmarks can start sooner.
At Depot's published rates, the estimated cost of the two Depot benchmark jobs rises from $0.31 on
mainto $0.53 per run: about $0.22 more (+72%). In the runs above, build + run fell by 4m06s and total elapsed time fell by 3m28s.