Skip to content

Benchmark concurrent managed Python installs - #1588

Draft
zaniebot wants to merge 1 commit into
zb/bench-python-uninstallfrom
zb/bench-python-concurrent-install
Draft

zaniebot wants to merge 1 commit into
zb/bench-python-uninstallfrom
zb/bench-python-concurrent-install

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Measure one, two, and four independent Python installations sharing an initially empty archive cache. Separate same-version and distinct-version cases use pinned interpreter archives through the local mirror, covering archive publication and transfer contention without serializing on a shared installation directory.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 05:17
@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-python-concurrent-install branch from 645ac3a to 1906926 Compare September 12, 2026 06:40
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 25 untouched benchmarks
🆕 322 new benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 WallTime package_build/sdist/django N/A 2.2 s N/A
🆕 WallTime package_build/wheel/django N/A 1.5 s N/A
🆕 WallTime check[packse] N/A 36.8 ms N/A
🆕 WallTime check[prefect] N/A 56 ms N/A
🆕 WallTime check[uv_docs] N/A 43.6 ms N/A
🆕 WallTime freeze[packse] N/A 35.4 ms N/A
🆕 WallTime freeze[prefect] N/A 39.8 ms N/A
🆕 WallTime freeze[uv_docs] N/A 37.4 ms N/A
🆕 WallTime install_no_deps[packse] N/A 36.4 ms N/A
🆕 WallTime install_no_deps[prefect] N/A 40.1 ms N/A
🆕 WallTime install_no_deps[uv_docs] N/A 38.1 ms N/A
🆕 WallTime list_exclude[packse] N/A 35.6 ms N/A
🆕 WallTime list_exclude[prefect] N/A 39.5 ms N/A
🆕 WallTime list_exclude[uv_docs] N/A 37.4 ms N/A
🆕 WallTime list[packse] N/A 35.5 ms N/A
🆕 WallTime list[prefect] N/A 39.4 ms N/A
🆕 WallTime list[uv_docs] N/A 37.3 ms N/A
🆕 WallTime reinstall_dry_run[packse] N/A 230.7 ms N/A
🆕 WallTime reinstall_dry_run[prefect] N/A 232.8 ms N/A
🆕 WallTime reinstall_dry_run[uv_docs] N/A 231.2 ms N/A
... ... ... ... ... ...

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


Comparing zb/bench-python-concurrent-install (2f69bd7) with main (e251246)1

Open in CodSpeed

Footnotes

  1. No successful run was found on zb/bench-python-uninstall (1980ec6) during the generation of this report, so main (e251246) 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-python-concurrent-install branch from 1906926 to 66f1f51 Compare September 12, 2026 07:12
@zaniebot
zaniebot force-pushed the zb/bench-python-concurrent-install branch from 66f1f51 to 2f69bd7 Compare September 12, 2026 13:41
@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