Skip to content

Benchmark cached and precise GitHub revision lookup - #1556

Draft
zaniebot wants to merge 1 commit into
zb/bench-github-metadatafrom
zb/bench-github-revisions
Draft

zaniebot wants to merge 1 commit into
zb/bench-github-metadatafrom
zb/bench-github-revisions

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Measure uncached GitHub reference resolution separately from already-known commits and in-process reference-cache hits. Requests retain uv's production construction and pass through the delayed loopback replay server, making unnecessary round trips visible without depending on GitHub availability or latency.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 01:50
@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-revisions branch from 1165a20 to f1f7512 Compare September 12, 2026 02:05
@zaniebot
zaniebot force-pushed the zb/bench-github-revisions branch from f1f7512 to 57c405b Compare September 12, 2026 04:21
@zaniebot
zaniebot force-pushed the zb/bench-github-revisions branch from 57c405b to 7996764 Compare September 12, 2026 06:36
@zaniebot
zaniebot force-pushed the zb/bench-github-revisions branch from 7996764 to 926b8bc Compare September 12, 2026 07:06
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 24.52%

⚡ 2 improved benchmarks
❌ 3 regressed benchmarks
✅ 209 untouched benchmarks
🆕 3 new benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime cold[sampleproject] 378.4 ms 774.5 ms -51.15%
❌ WallTime cold[flask] 378.5 ms 774.7 ms -51.15%
❌ WallTime cold[pip-test-package] 1.9 s 2.3 s -17.33%
⚡ Simulation write[uv] 12.1 ms 10.8 ms +11.53%
⚡ WallTime four_processes[flask] 824.4 ms 740.3 ms +11.37%
🆕 WallTime cached_reference N/A 1.4 µs N/A
🆕 WallTime cold_reference N/A 63.5 ms N/A
🆕 WallTime known_commit N/A 994 ns N/A

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing zb/bench-github-revisions (de41488) with zb/bench-github-metadata (47753d9)1

Open in CodSpeed

Footnotes

  1. No successful run was found on zb/bench-github-metadata (e84d82f) during the generation of this report, so cd32020 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-revisions branch from 926b8bc to de41488 Compare September 12, 2026 13:36
@zaniebot zaniebot added risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. 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:1 Negligible risk of localized mistakes that are obvious and easy to correct. 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