Skip to content

Prepare immutable source trees for benchmarks - #1560

Draft
zaniebot wants to merge 1 commit into
zb/bench-environment-reinstallfrom
zb/bench-source-tree-fixtures
Draft

zaniebot wants to merge 1 commit into
zb/bench-environment-reinstallfrom
zb/bench-source-tree-fixtures

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Export pinned Python project trees and a fixed uv source archive before walltime runs. Discovery, source-metadata, and build workloads can share their real tracked files without depending on a moving checkout or fetching upstream data while timing. Provenance markers keep prepared trees tied to the fixture manifests.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 02:21
@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 improve performance by 45.36%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 5 improved benchmarks
✅ 247 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ WallTime latest[ruff] 889.9 ms 448.3 ms +98.49%
⚡ WallTime cached[packse] 473.8 ms 254.8 ms +85.94%
⚡ WallTime cached[prefect] 828.8 ms 609.7 ms +35.94%
⚡ WallTime cached[uv_docs] 1.6 s 1.4 s +16.15%
⚡ Simulation write[uv] 12.1 ms 10.9 ms +11.35%

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-source-tree-fixtures (066a769) with zb/bench-environment-reinstall (a0cf171)1

Open in CodSpeed

Footnotes

  1. No successful run was found on zb/bench-environment-reinstall (24fec0b) during the generation of this report, so ee14c99 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-source-tree-fixtures branch from 6ac6623 to debffaa Compare September 12, 2026 02:56
@zaniebot
zaniebot force-pushed the zb/bench-source-tree-fixtures branch from debffaa to 134eba4 Compare September 12, 2026 04:22
@zaniebot
zaniebot force-pushed the zb/bench-source-tree-fixtures branch from 134eba4 to bf66ce1 Compare September 12, 2026 06:37
@zaniebot
zaniebot force-pushed the zb/bench-source-tree-fixtures branch from bf66ce1 to 639f9e9 Compare September 12, 2026 07:07
@zaniebot
zaniebot force-pushed the zb/bench-source-tree-fixtures branch from 639f9e9 to 066a769 Compare September 12, 2026 13:37
@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

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