Skip to content

Benchmark isolated source build environment reuse - #1570

Draft
zaniebot wants to merge 1 commit into
zb/bench-source-git-cache-keysfrom
zb/bench-source-build-reuse
Draft

zaniebot wants to merge 1 commit into
zb/bench-source-git-cache-keysfrom
zb/bench-source-build-reuse

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Measure regular and editable installations of real projects whose metadata requires a PEP 517 backend: the small pip regression package, PyPA packaging, and Django. Cold-cache cases include metadata preparation followed by wheel construction in the same uv invocation, while warm-cache cases provide a reuse control. Backend wheels, Python, and source trees are pinned and prepared before timing.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 03:23
@astral-automations-bot astral-automations-bot Bot added area:benchmarks Related to benchmarking internal A refactor or improvement that is not user-facing labels Sep 12, 2026
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 56 untouched benchmarks
🆕 68 new benchmarks
⏩ 11 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 WallTime read[packse] N/A 956.4 µs N/A
🆕 WallTime read[prefect] N/A 19 ms N/A
🆕 WallTime read[uv] N/A 4.5 ms N/A
🆕 WallTime write[packse] N/A 850.7 µs N/A
🆕 WallTime write[prefect] N/A 15.3 ms N/A
🆕 WallTime write[uv] N/A 3.8 ms N/A
🆕 WallTime dry_run[django_sdist] N/A 415.9 ms N/A
🆕 WallTime dry_run[flask] N/A 37.2 ms N/A
🆕 WallTime dry_run[jupyterlab] N/A 86.6 ms N/A
🆕 WallTime dry_run[numpy] N/A 95.9 ms N/A
🆕 WallTime dry_run[sympy] N/A 63.6 ms N/A
🆕 WallTime read[pufferlib] N/A 127.2 ms N/A
🆕 WallTime write[pufferlib] N/A 33.8 s N/A
🆕 WallTime metadata[airflow] N/A 22.4 ms N/A
🆕 WallTime metadata[flask] N/A 22.2 ms N/A
🆕 WallTime metadata[jupyterlab] N/A 22.3 ms N/A
🆕 WallTime cached[packse] N/A 253.3 ms N/A
🆕 WallTime cached[prefect] N/A 610.5 ms N/A
🆕 WallTime cached[uv_docs] N/A 1.4 s N/A
🆕 WallTime fresh_copy[flask] N/A 7.6 ms N/A
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing zb/bench-source-build-reuse (541589e) with zb/bench-source-git-cache-keys (1710d4f)

Open in CodSpeed

Footnotes

  1. 11 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. ↩

@zaniebot
zaniebot force-pushed the zb/bench-source-build-reuse branch from 2c57b2b to 541589e Compare September 12, 2026 13:38
@zaniebot zaniebot added risk:2 Low, contained risk of minor incorrect behavior with straightforward recovery. priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. labels Sep 22, 2026
@zaniebot zaniebot added the build:skip-release Disable building release binaries for a pull request label Oct 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:benchmarks Related to benchmarking build:skip-release Disable building release binaries for a pull request internal A refactor or improvement that is not user-facing priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:2 Low, contained risk of minor incorrect behavior with straightforward recovery. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants