Skip to content

Benchmark unchanged real project locks - #1578

Draft
zaniebot wants to merge 2 commits into
zb/bench-download-hashingfrom
zb/bench-project-lock
Draft

zaniebot wants to merge 2 commits into
zb/bench-download-hashingfrom
zb/bench-project-lock

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

The frozen project workloads bypass lock freshness checks. Add ordinary uv lock --locked invocations for Packse, uv, and Prefect, retaining each lock's resolution policy and using an empty package cache. Prefect's full source tree and pinned build backend remain available so unnecessary dynamic-version builds are observable without turning the workload into an invalid project.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 04:29
@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 regress 2 benchmarks

⚡ 9 improved benchmarks
❌ 2 regressed benchmarks
✅ 289 untouched benchmarks
🆕 3 new benchmarks
⏩ 58 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime advised_cold_data[flask] 73.9 ms 96.9 ms -23.74%
❌ WallTime advised_cold_data[django] 1.5 s 1.7 s -12.75%
⚡ WallTime four_processes[flask] 795.9 ms 412.4 ms +92.98%
⚡ WallTime find[cold] 344.8 ms 201.5 ms +71.12%
⚡ WallTime four_processes[sympy] 1,205.7 ms 828.3 ms +45.56%
⚡ WallTime four_processes[numpy] 1,284 ms 907.1 ms +41.55%
⚡ WallTime four_processes[jupyterlab] 1,313.3 ms 934.4 ms +40.55%
⚡ WallTime simple 708.5 ms 602.6 ms +17.56%
⚡ WallTime flat 704.5 ms 599.3 ms +17.55%
⚡ WallTime known_commit 1,081 ns 973 ns +11.1%
⚡ WallTime cached_reference 1.5 µs 1.3 µs +10.79%
🆕 WallTime unchanged[packse] N/A 229.8 ms N/A
🆕 WallTime unchanged[prefect] N/A 257.7 ms N/A
🆕 WallTime unchanged[uv] N/A 235.6 ms N/A

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing zb/bench-project-lock (7cf2d7a) with zb/bench-download-hashing (8e45965)

Open in CodSpeed

Footnotes

  1. 58 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-project-lock branch from 2edefc7 to 7cf2d7a Compare September 12, 2026 13:39
@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