Skip to content

Benchmark native source installations and cache reuse - #1565

Draft
zaniebot wants to merge 1 commit into
zb/bench-build-frontendfrom
zb/bench-native-source-install
Draft

zaniebot wants to merge 1 commit into
zb/bench-build-frontendfrom
zb/bench-native-source-install

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Measure regular and editable uv pip install operations for real sampleproject, Flask, and Django trees configured for the current uv_build backend. Cold caches include source preparation, wheel construction, extraction, and installation; warm caches reuse an actual earlier installation. The same-checkout backend wheel keeps isolated-build fallbacks available without network access.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 02:57
@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
@zaniebot
zaniebot force-pushed the zb/bench-native-source-install branch from 70033df to 57cdb8a Compare September 12, 2026 03:18
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 11.27%

⚡ 1 improved benchmark
✅ 55 untouched benchmarks
⏩ 11 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ write[uv] 12.1 ms 10.8 ms +11.27%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing zb/bench-native-source-install (52cd63a) with zb/bench-build-frontend (f0f0eb1)2

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

  2. No successful run was found on zb/bench-build-frontend (808d6e0) during the generation of this report, so aa3e483 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@zaniebot
zaniebot force-pushed the zb/bench-native-source-install branch from 7c1c187 to 8ee77d8 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