docs(pipeline): MP0 baseline captured - gate PASSED, alloc-triage amendment

Full-route capture (Holtburg -> dungeon 0x0007 -> town 0xCE94 -> dungeon
-> Holtburg, 4 teleports) plus the supplemental town run. Verdict: the
render-side-CPU split is confirmed (GPU <= ~2.7ms, upd/upl/imgui ~= 0),
steady medians beat the spec assumption (worst town p50 3.6ms), and the
smoothness gap is GC: 1.5-3 MB allocated per frame drives gen2
collections 1-2/s and every town p99/max violation, while dungeon
windows (zero gen1/gen2) are spike-free at ~2000 fps. Teleport hitch
quantified at 211ms worst frame / 75.7MB single-frame allocation.

Gate decision: PROCEED to MP1 unchanged, with one recorded amendment -
a bounded post-MP1 allocation-triage session for churn sites outside
the MP3 rewrite surface. Fort Tethana axiom view still to be
re-measured at the MP2/MP3 gates.

MP0 complete: profiler shipped (7d74c68c..4b44a152) + baseline + gate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Erik 2026-07-05 19:42:36 +02:00
parent f4e4418273
commit 86d7094451
3 changed files with 107 additions and 2 deletions

View file

@ -117,6 +117,17 @@ CLAUDE.md structure rule 1):
the CPU 6 ms attributed per stage. If the attribution contradicts §1's assumed split,
the MP phase order is re-sequenced and this doc amended before MP1 starts.
**Gate PASSED 2026-07-05** — see `docs/research/2026-07-05-mp0-baseline.md`.
Verdict: render-side-CPU split CONFIRMED (GPU ≤ ~2.7 ms, stages ≈ 0); steady
medians better than assumed (worst town p50 3.6 ms; Fort Tethana axiom view
not yet re-measured — re-check at the MP2/MP3 gates). AMENDMENT: steady-state
allocation churn (1.53 MB/frame → gen2 GC ~12/s → all town p99/max
violations) is promoted to a first-class smoothness lever: after MP1, one
bounded allocation-triage session fixes top churn sites OUTSIDE the MP3
rewrite surface; sites inside it wait for MP3; the full zero-alloc pass
remains MP4. Teleport hitch quantified: 211 ms worst frame, 75.7 MB
single-frame allocation — MP1's "before" number.
## 6. MP1 — Bake + pak (the smoothness backbone)
### 6.1 The bake tool