Skip to content

Benchmark metadata discovery from real source trees - #1567

Draft
zaniebot wants to merge 1 commit into
zb/bench-source-cache-keysfrom
zb/bench-source-metadata
Draft

zaniebot wants to merge 1 commit into
zb/bench-source-cache-keysfrom
zb/bench-source-metadata

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Resolve metadata from the original sampleproject, Flask, Django, and legacy setuptools source trees. The walltime cases cover cold and warm source caches, static metadata with builds disabled, and actual backend-generated metadata left in the checkout. This captures filesystem and build-hook costs that parsing an existing wheel metadata body does not measure.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 02:58
@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-source-metadata branch from 8434113 to caf9d0d Compare September 12, 2026 03:18
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 64 untouched benchmarks
🆕 98 new benchmarks
⏩ 3 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 WallTime find[cold] N/A 345.4 ms N/A
🆕 WallTime find[warm] N/A 39.8 ms N/A
🆕 WallTime list[cold] N/A 801 ms N/A
🆕 WallTime list[warm] N/A 172.3 ms N/A
🆕 WallTime default N/A 40.4 ms N/A
🆕 WallTime relocatable N/A 40.3 ms N/A
🆕 WallTime spaces N/A 40.4 ms N/A
🆕 WallTime flat N/A 705.6 ms N/A
🆕 WallTime simple N/A 708.6 ms N/A
🆕 WallTime cold_precise[django] N/A 24.9 s N/A
🆕 WallTime cold_precise[flask] N/A 1.4 s N/A
🆕 WallTime cold_precise[sampleproject] N/A 216.4 ms N/A
🆕 WallTime warm_commit[django] N/A 17.9 ms N/A
🆕 WallTime warm_commit[flask] N/A 17.8 ms N/A
🆕 WallTime warm_commit[sampleproject] N/A 17.7 ms N/A
🆕 WallTime warm_precise[django] N/A 17.8 ms N/A
🆕 WallTime warm_precise[flask] N/A 17.9 ms N/A
🆕 WallTime warm_precise[sampleproject] N/A 17.7 ms N/A
🆕 WallTime warm_reference[django] N/A 51.2 ms N/A
🆕 WallTime warm_reference[flask] N/A 51 ms N/A
... ... ... ... ... ...

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


Comparing zb/bench-source-metadata (215ea36) with zb/bench-source-cache-keys (ab42f39)

Open in CodSpeed

Footnotes

  1. 3 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-metadata branch from 4044745 to 215ea36 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