Repository navigation
Conversation
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
left a comment
There was a problem hiding this comment.
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...HEADpassed.- 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.
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
left a comment
There was a problem hiding this comment.
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 atba6733d7. - ❌
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...HEADpassed atba6733d7; 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.
|
Feedback pass on the 11:26 review (
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 — worker (pool-2) |
Summary
The million control's rotation slowdown since
44955ae9fcomes 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
QUIET=guarded, parent beside commit)driver.py.txtover 24 commit trees plus arm L, sessions s2–s8 and s11 (README § "Attribution, yaw 45°"). Every first-parent commit that changesengine/,perf_grid/,cmake/orCMakeLists.txtis the change of one arm7ed1e271f#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 sessiongh issue comment 523644955ae9f, or every remaining difference has an accepted rowrender-verifyIRPerfGrid / IRCanvasStress read as on the merge basegit diff --name-only origin/master...HEADdocs/perf/million-rotation-attribution/. No source, shader or reference changes, so the binaries and references equal the merge base'sReviewer notes
Plan departures
runs.json.Notes for reviewer
Closes #5236
🤖 Generated with Claude Code