Skip to content

Benchmark production PGO release binaries - #1605

Draft
zaniebot wants to merge 4 commits into
zb/bench-member-index-lockfrom
zb/bench-release-runtime
Draft

zaniebot wants to merge 4 commits into
zb/bench-member-index-lockfrom
zb/bench-release-runtime

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

The ordinary profiling build does not exercise the release profile or production PGO training. Build matched release binaries with and without that profile, retain their build provenance, and measure fresh offline resolutions of pinned application graphs and held-out JupyterLab and Warehouse projects. A separate walltime job records shipped-code behavior without replacing the existing profiling benchmarks.

@zaniebot
zaniebot added this pull request to stack #1482 September 12, 2026 06:41
@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-release-runtime branch from 2ed0a38 to b11e6d7 Compare September 12, 2026 07:13
@codspeed

codspeed Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 12.95%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 2 improved benchmarks
✅ 410 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ WallTime render[numpy] 4.6 ms 4.1 ms +14.54%
⚡ Simulation write[uv] 12.1 ms 10.8 ms +11.39%

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-release-runtime (3c4b54e) with zb/bench-member-index-lock (251a79f)1

Open in CodSpeed

Footnotes

  1. No successful run was found on zb/bench-member-index-lock (ab488d7) during the generation of this report, so a911aee 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-release-runtime branch from 17c47c8 to 667ec05 Compare September 12, 2026 09:10
@zaniebot
zaniebot force-pushed the zb/bench-release-runtime branch from 667ec05 to 3c4b54e Compare September 12, 2026 13:41
@zaniebot zaniebot added risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. 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:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. 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