Skip to content

Benchmark cold and cached GitHub source metadata - #1555

Draft
zaniebot wants to merge 1 commit into
zb/bench-source-build-fixturesfrom
zb/bench-github-metadata
Draft

zaniebot wants to merge 1 commit into
zb/bench-source-build-fixturesfrom
zb/bench-github-metadata

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Measure GitHub dependency metadata for real static and dynamic Python projects. Cold workloads exercise commit lookup, direct pyproject.toml reads, and backend fallback; warm workloads begin with a real materialized source cache. Local Git transport and replayed HTTP responses isolate the cost of avoided clones and repeated metadata requests.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 01:45
@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-github-metadata branch from 6e02bac to e8e1c85 Compare September 12, 2026 02:05
@zaniebot
zaniebot force-pushed the zb/bench-github-metadata branch from e8e1c85 to fa85299 Compare September 12, 2026 04:21
@zaniebot
zaniebot force-pushed the zb/bench-github-metadata branch from fa85299 to 02fe989 Compare September 12, 2026 06:36
@zaniebot
zaniebot force-pushed the zb/bench-github-metadata branch from 02fe989 to 47753d9 Compare September 12, 2026 07:06
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 206 untouched benchmarks
🆕 8 new benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 WallTime cold[django] N/A 30.3 s N/A
🆕 WallTime cold[flask] N/A 377.4 ms N/A
🆕 WallTime cold[pip-test-package] N/A 1.9 s N/A
🆕 WallTime cold[sampleproject] N/A 374.7 ms N/A
🆕 WallTime warm[django] N/A 63.5 ms N/A
🆕 WallTime warm[flask] N/A 64 ms N/A
🆕 WallTime warm[pip-test-package] N/A 62.6 ms N/A
🆕 WallTime warm[sampleproject] N/A 63.1 ms N/A

Comparing zb/bench-github-metadata (e84d82f) with zb/bench-source-build-fixtures (5133f45)1

Open in CodSpeed

Footnotes

  1. No successful run was found on zb/bench-source-build-fixtures (7306c2f) during the generation of this report, so 224e713 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-github-metadata branch from 47753d9 to e84d82f Compare September 12, 2026 13:36
@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:3 Substantial: interacting behaviors, difficult compatibility questions, or a careful migration. 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:3 Substantial: interacting behaviors, difficult compatibility questions, or a careful migration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants