Skip to content

Benchmark Git source cache keys with real release tags - #1568

Draft
zaniebot wants to merge 1 commit into
zb/bench-source-metadatafrom
zb/bench-source-git-cache-keys
Draft

zaniebot wants to merge 1 commit into
zb/bench-source-metadatafrom
zb/bench-source-git-cache-keys

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Measure commit-only and tag-sensitive source cache keys against real sampleproject, Flask, and Django checkouts. Their pinned release histories provide zero, 67, and 477 tags, respectively, with both ordinary loose refs and packed refs. Fixture preparation retains the real Git objects and keeps network work outside the walltime measurement.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 03:03
@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-git-cache-keys branch from 11345c9 to 956da9d Compare September 12, 2026 03:18
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 25 untouched benchmarks
🆕 294 new benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 WallTime default N/A 39.7 ms N/A
🆕 WallTime relocatable N/A 39.7 ms N/A
🆕 WallTime spaces N/A 39.8 ms N/A
🆕 WallTime s3_signing/four_indexes N/A 726.6 ms N/A
🆕 WallTime cold[django] N/A 29.9 s N/A
🆕 WallTime cold[flask] N/A 762.9 ms N/A
🆕 WallTime cold[pip-test-package] N/A 2.3 s N/A
🆕 WallTime cold[sampleproject] N/A 762.7 ms N/A
🆕 WallTime warm[django] N/A 63.2 ms N/A
🆕 WallTime warm[flask] N/A 63.8 ms N/A
🆕 WallTime warm[pip-test-package] N/A 62.3 ms N/A
🆕 WallTime warm[sampleproject] N/A 63 ms N/A
🆕 WallTime editable/cold[django] N/A 880.1 ms N/A
🆕 WallTime editable/cold[flask] N/A 882.3 ms N/A
🆕 WallTime editable/cold[sampleproject] N/A 879.8 ms N/A
🆕 WallTime editable/warm[django] N/A 879 ms N/A
🆕 WallTime editable/warm[flask] N/A 881.7 ms N/A
🆕 WallTime editable/warm[sampleproject] N/A 879.4 ms N/A
🆕 WallTime wheel/cold[django] N/A 2.9 s N/A
🆕 WallTime wheel/cold[flask] N/A 903.1 ms N/A
... ... ... ... ... ...

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


Comparing zb/bench-source-git-cache-keys (1710d4f) with main (e251246)1

Open in CodSpeed

Footnotes

  1. No successful run was found on zb/bench-source-metadata (215ea36) 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-source-git-cache-keys branch from 9dc569f to 1710d4f 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