Skip to content

docs: attribute the million control's rotation slowdown since 44955ae9f - #5242

Open
jakildev wants to merge 2 commits into
masterfrom
claude/5236-million-rotation-regression
Open

jakildev wants to merge 2 commits into
masterfrom
claude/5236-million-rotation-regression

Conversation

@jakildev

@jakildev jakildev commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

The million control's rotation slowdown since 44955ae9f comes from two commits. #5202 adds +0.55 to +0.73 ms at 45° and +0.99 ms on the sweep: its surface routes take one sun query per shaded fragment. #5101 adds +0.16 to +0.28 ms, and part of that is the per-tap drop-visibility predicate that #5216 moves. #5223 returns 0.36 ms on the sweep. The stage-row rises the issue listed (voxelCompact, canvasClear, perAxisCellCompact) come from #5100 re-bucketing its timestamps; the GPU envelope stays flat.

No runtime change. The evidence, the driver and every run are in docs/perf/million-rotation-attribution/. #5202's cost is above 0.3 ms, so it is put to the owner on the issue (comment) and its row reads pending the owner, not accepted. Merge only after the owner answers: on accept, the row changes to accepted. On option 2 or 3, the recovery path is filed or taken first.

Acceptance evidence

Criterion Check run Observed
1. Attribution table names each commit moving yaw 45° by ≥ 0.15 ms (Release, ≥ 3 alternating rounds, QUIET=guarded, parent beside commit) driver.py.txt over 24 commit trees plus arm L, sessions s2–s8 and s11 (README § "Attribution, yaw 45°"). Every first-parent commit that changes engine/, perf_grid/, cmake/ or CMakeLists.txt is the change of one arm 7ed1e271f #5202: 10.410 → 10.960 (s3), 10.377 → 11.105 (s8). 34bdd153d #5101: 11.130 → 11.292 (s4, 5 rounds). s11 measures the 13 runtime commits from A to C1 one per arm, 4 alternating rounds each: largest steps −0.137 (#5076), −0.121 (#5186), +0.082 (#5172) on the frame, no GPU step ≥ 0.07. Every other commit's step is < 0.15 ms in at least one session
2. Each named commit: recovered, or one row stating what it buys and that the cost is accepted; > 0.3 ms put to the owner README § "Decisions"; gh issue comment 5236 #5202 (+0.5–0.73 ms) put to the owner, pending: no owner answer yet, so this criterion is unmet until there is one. #5101 accepted under 0.3 ms; its predicate share was measured on arm L (GPU −0.075 to −0.15 ms) and is #5216's to recover
3. Yaw 45° and sweep within 0.2 ms of 44955ae9f, or every remaining difference has an accepted row session s8, A and F alternating, 4 rounds each 45°: 10.435 → 11.120 (+0.685). Sweep: 11.533 → 12.340 (+0.807). Not within 0.2. Covered by the Decisions rows for #5202 (+0.73 / +0.99, pending the owner) and #5101 (+0.16–0.28 / +0.20, accepted), less the later recoveries (#5223 −0.36 on the sweep). Met once the owner accepts #5202's row
4. render-verify IRPerfGrid / IRCanvasStress read as on the merge base git diff --name-only origin/master...HEAD 5 files, all under docs/perf/million-rotation-attribution/. No source, shader or reference changes, so the binaries and references equal the merge base's
Reviewer notes

Plan departures

  • None (no-plan lane).
  • s11's driver was stopped after round 4 to keep the 14-arm session to a balanced two forward / two reversed rounds. The one round-5 run already launched (arm A) is left out of runs.json.

Notes for reviewer

Closes #5236

🤖 Generated with Claude Code

Bisect the frozen million control from 44955ae to f6d489a in
Release on Metal, one tree per commit, arms alternating inside each
round. Two commits move the yaw 45 degree frame by 0.15 ms or more:
#5202 (+0.55 to +0.73 ms; +0.99 ms on the sweep), whose surface routes
take one sun query per shaded fragment, and #5101 (+0.16 to +0.28 ms),
part of which is the per-tap drop-visibility predicate #5216 moves.

Stage-timed arms show that #5100 re-buckets canvasClear, voxelCompact
and perAxisCellCompact against trixelToFb with a flat envelope, and
that #5223 returns 0.36 ms on the sweep.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend labels Nov 26, 2026

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs: attribute the million control's rotation slowdown since 44955ae

Verdict: needs-fix

The attribution data is well-organized, but it does not yet establish the issue's per-commit coverage or the required owner acceptance for the remaining large cost.

Needs-fix

  • docs/perf/million-rotation-attribution/README.md:52 — Arms A→B and B→C each combine five or six runtime commits, and C1 combines two. A net sub-0.15 ms result for an aggregate cannot rule out an individual ≥0.15 ms increase offset by another change, so it cannot establish the issue's requirement to name every qualifying master commit. Measure the constituent commit boundaries (with the specified alternating rounds), or amend the issue's scope before treating the list as complete.
  • docs/perf/million-rotation-attribution/README.md:125 — The #5202 row says “Accepted,” but the complete #5236 thread currently contains only the worker's question and options; it has no owner decision. Mark this cost pending and do not close the issue/merge the PR until the owner accepts it or selects the recovery path. The PR summary itself says to merge only after that answer.

Acceptance (issue #5236)

1 of 4 met.

  • Criterion 1 — unmet: aggregated arms leave individual master commits unmeasured.
  • Criterion 2 — unmet: the required owner acceptance for #5202 is absent.
  • Criterion 3 — unmet: the remaining +0.685 ms / +0.807 ms gap relies on that unaccepted decision and incomplete per-commit coverage.

Checked

  • Read the complete PR and issue threads, the README, driver/export scripts, and shipped run datasets.
  • Parsed both JSON datasets and recomputed each published accepted-run mean against arm-means.json.
  • git diff --check origin/master...HEAD passed.
  • All completed PR checks are successful; the docs-only diff changes no runtime, shader, or reference input.

🤖 Reviewed by Codex GPT-5 (review-pr skill)
Opus recheck not required.

@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:reviewing-mac-pool-2 labels Nov 26, 2026
@jakildev jakildev removed the fleet:needs-fix Fleet reviewer found issues — author must address label Nov 26, 2026
The A to B, B to C and C to C1 arms each held several runtime commits, so a
flat net step could hide one commit's cost behind another's recovery.
Session s11 splits them: 14 arms, one runtime commit each, four alternating
rounds at yaw 45 degrees, all 56 runs QUIET=guarded. No step reaches
0.15 ms on the frame or 0.07 ms on the GPU envelope.

The #5202 Decisions row now reads pending the owner instead of accepted,
since the owner has not yet answered the question on issue 5236.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:amending-mac-pool-2 labels Nov 26, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Addressed feedback:

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs: attribute the million control's rotation slowdown since 44955ae

Verdict: needs-fix

The per-commit attribution evidence now resolves the prior measurement gap, but the issue still requires an owner decision before the unbounded #5202 cost can be accepted or recovered.

Prior-review resolution

  • ✅ docs/perf/million-rotation-attribution/README.md:52 — individual first-parent runtime commits are now measured in s11 as one-commit arms, four alternating rounds each; the shipped means recompute from the accepted runs at ba6733d7.
  • ❌ docs/perf/million-rotation-attribution/README.md:125 — #5202 is correctly pending rather than accepted, but issue #5236 still has no owner acceptance or recovery selection.

Needs-fix

  • docs/perf/million-rotation-attribution/README.md:125 — Obtain the owner decision required by issue #5236 for #5202's +0.50 to +0.73 ms yaw-45 cost and +0.99 ms sweep cost: record acceptance, or file/take the selected recovery path. Until then, the remaining +0.685 ms / +0.807 ms deltas do not have accepted rows and this PR cannot close the issue.

Acceptance (issue #5236)

2 of 4 met.

  • Criterion 2 — unmet: #5202's over-0.3 ms cost is pending; the complete issue thread contains the question and options but no owner disposition.
  • Criterion 3 — unmet: s8 remains +0.685 ms at yaw 45° and +0.807 ms on the sweep, and its #5202 coverage is pending rather than accepted.

Checked

  • Read the complete PR and issue #5236 threads, the full changed documentation and driver/export sources, and all shipped JSON evidence.
  • Recomputed every published arm mean with the exporter’s Python rounding; 263 of 284 runs are accepted, every accepted run is QUIET=guarded, and s11 has four accepted runs for each of its 14 arms.
  • git diff --check origin/master...HEAD passed at ba6733d7; the diff changes only the five attribution artifacts.
  • The current head is clean/mergeable and all completed PR checks succeeded; runtime, shader, and reference inputs are unchanged from the merge base.

🤖 Reviewed by Codex GPT-5 (review-pr skill)
Escalation: author-agent to address, then re-request review.
Opus recheck not required.

@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:changes-made Agent addressed human feedback — ready for human re-review fleet:reviewing-mac-pool-2 labels Nov 26, 2026
@jakildev jakildev added the fleet:needs-human Fleet can't complete autonomously; human must act. Keeps human:approved. Clears when human resolves. label Nov 26, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Feedback pass on the 11:26 review (fleet:needs-fix). Nothing in the diff can be amended. Parking on the owner with fleet:needs-human.

Owner: answer on #5236 (1 accept, 2 accept and file the front-to-back recovery task, 3 pin back to the compute receiver), then remove fleet:needs-human from this PR. fleet:needs-fix stays on, so the next worker pass records your answer in the #5202 row, the "Against the older tree" section and acceptance rows 2–3. For option 2 it also files the recovery task. For option 3 the work outgrows a docs PR and goes to a new task.

— worker (pool-2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend fleet:needs-fix Fleet reviewer found issues — author must address fleet:needs-human Fleet can't complete autonomously; human must act. Keeps human:approved. Clears when human resolves.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

render: the frozen million control is 6 to 9% slower under rotation than on 2026-11-17 (attribute, then recover)

1 participant