Skip to content

docs(benchmarks): record the sidecar boot gate's red state - #117

Merged
wangtai merged 1 commit into
mainfrom
develop
Nov 13, 2026
Merged

wangtai merged 1 commit into
mainfrom
develop

Conversation

@wangtai

@wangtai wangtai commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Documentation only.

test_sidecar_boot.py fails on every PR with medians of 500–656ms against a 500ms budget, and has since at least 2026-11-07. The README said nothing about it, so each failure gets re-triaged as a fresh regression.

What is recorded

Date Run Median Budget
2026-11-07 job 42392643151 656.3ms 500ms
2026-11-11 job 42990539480 500.1ms 500ms
2026-11-13 job 131873489225 623.0ms 500ms

The key evidence is what is not red on those same runs: compaction run lands at 59.6ms/75ms and coreloop round at 5.2ms/7ms, both k≈1.0. A single slowdown ratio cannot produce one path at 1.56× and two at 1.0×, which rules out "the runner got slower" as the whole story.

Two remaining candidates

  1. The budget is stale. REFERENCE_MS = 400 came from a 261ms arm64-Mac measurement on 2026-09-09. Today that machine boots at 365ms (n=9 warm) and import steerable_sidecar alone costs 276ms.
  2. This runner class is slow at spawning Python. Only a same-commit measurement on two runner labels separates it from (1).

What this PR does not do

Recalibrate. CI_TIME_SCALE scales all three benchmarks and two of them are correctly calibrated, so moving it would silence this at the cost of making the gate meaningless for the paths that currently work.

Made with Cursor

`test_sidecar_boot.py` has failed on every PR since at least 2026-11-07,
with medians of 500-656ms against a 500ms budget. The README said nothing
about it, so each new failure reads as a fresh regression and gets
re-triaged from scratch.

Records the evidence: three dated runs, and the two benchmarks that are
NOT red on the same runs (compaction 59.6/75ms, coreloop 5.2/7ms). That
rules out "the runner got slower" — one ratio cannot make one path 1.56x
and two paths 1.0x — and leaves two candidates: the budget is stale
(the 261ms reference measurement predates a month of dependency growth;
import alone is 276ms now), or this runner class is slow at spawning
Python. Only a same-commit measurement on two runner labels separates
them.

Deliberately does NOT recalibrate. `CI_TIME_SCALE` scales all three
benchmarks, and two of them are correct, so moving it would hide this
behind a gate that no longer measures anything.

Signed-off-by: Wang Tai <i@wangtai.me>
@wangtai
wangtai merged commit db484ef into main Nov 13, 2026
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant