docs(perf): ledger entries for the load-time hillclimb levers

Merged
LO
17d ago
+1062-19

Current scope after the 2026-11-12 main merge:

This accumulated documentation PR changes scripts/perf/README.md and docs/architecture/wasm-wide-arithmetic.md. The architecture document parks the wide-arithmetic proposal, corrects V8 flag support, and replaces the earlier ~1.7x claim with the measured +2–6% geometry-time verdict. The corresponding “Exact arithmetic in wasm” ledger section records that investigation. “CLI geometry export” records an un-shipped lever, not a code change awaiting merge.

Additional implementation records include #9684/#9685 (cold finalize) and #9659 (whole-tab memory budget); retain the merge-after-code condition for these too. The round-6 weld/orient quantisation entry is the record for #9717, including where its original text does not repeat the PR number. Rejected/closed and investigation-only records have no code-PR dependency. No merge label is requested; more entries are expected today.

The README headings added relative to current main are:

  • One store notification for a primary load's reset (#10196, closed)
  • After-load jobs wait for the load window (#9915, closed)
  • Cache-hit chunk decode on the workers (#9925) and lazy relationship maps (#9932, closed)
  • Snapshot read during renderer start-up and cache key from file slices (#9826, #9827, closed)
  • Renderer device requested at the file pick (#9825, closed)
  • Immediate entity-index hand-off on large cold loads (#9823, draft)
  • Warm viewer shell at boot idle (#9750, closed)
  • Cold finalize assembles streamed batches from their fragments (#9684)
  • LOD1 cell table on typed arrays (#9685)
  • Deferred viewer cache encoding (NEW-5, #9622)
  • Cold-load scene snapshot (W2, reopen lane, #9728)
  • Load scoreboard (load-scoreboard.mjs) (#9607)
  • Native result cache, phase 1 (result_cache, warm-load hillclimb, #9614)
  • Georeference minimap waits for scene settlement (#9623)
  • Whole-tab memory worker budget (huge-file stage 1, #9659)
  • Exact arithmetic in wasm: wide arithmetic, small operands, interner identity (2026-11-11)
  • CLI geometry export is 12-19x slower than the native core (un-shipped lever, 2026-11-11)
  • Review the entry dominators before deferring more UI (#9742)
  • Skip the per-piece placement copy on a cache hit's hydrate (reopen candidate 3, sized and rejected, 2026-11-12)
  • Parser store publish gate after the geometry tail (#9830, closed)
  • Fast-path pool hold after the pick (follow-up to #9900, not opened)
  • Camera-fit bounds folded as streamed meshes commit (#9948, closed)
  • Workers encode streamed meshes' GPU vertex records (M2, #10164, closed)
  • Flat-batch metadata in typed columns (#10199, on #10175; closed untimed)

Historical consolidation notes follow (earlier head-specific validation remains historical):

Moves overlapping performance documentation out of the code PRs so each README conflict does not require another merge and full CI cycle.

  • #9605: load hillclimb stage instrumentation.

  • #9607: Load scoreboard tool documentation (Mergify reported a README conflict with #9512).

  • #9623: georeference minimap scene-settlement diagnostic.

  • #9632: surface-face decode verdict and the accompanying withdrawn incircle experiment note (#9637).

  • #9643: surface-model points read once per lowering (bounded, call-scoped memo). Entry added in cd430995fd. Its code PR no longer touches this file.

  • #9717: weld and orient keys quantised without libm round (round 6). Entry added in cd430995fd. The code PR never touched this file.

  • #9614: native result cache, phase 1 (opt-in warm-load cache in the Rust core): verdict and lessons. Added after the original four. Its code PR no longer touches this file.

  • #9634: defer BCF, Data validation and Lens panels; eager-closure measurement and readiness lessons. Its README hunk was removed from the code PR; the non-README patch is byte-identical after merging main.

  • #9622: deferred viewer cache encoding — rejected, recorded for the ledger; no code PR. This entry does not depend on any code PR.

The implementation entries describe changes that land in their listed code PRs. The #9622 rejected-lever record has no code dependency. Merge this documentation PR AFTER all listed code PRs. If a code PR is rejected, remove or reword its entry here before merging.

#9635 and #9636 have merged; their ledger entries are retained from main.

Validation: docs-only diff (scripts/perf/README.md and docs/architecture/wasm-wide-arithmetic.md), git diff --check clean. Every moved code PR retains a byte-identical non-README patch against current main; main was merged without rebasing or changing code. No builds run; CI validates. Pre-handoff reports workflow-report-paths failing to load the missing yaml dependency; source-text assertions and teardown checks skip without TypeScript, retained-free viewer skips without dist.

Do not queue this PR until the code PRs land; the orchestrator will add mergify-trial then.

For the #9634 append at 25e54ec03a, Node 24 pre-handoff reports 9 PASS / 4 SKIPPED (missing TypeScript, YAML and viewer dist); silent-revert fails closed because the consolidated README does not yet merge cleanly into main 6aefb7833b. The final consolidation conflict remains here, after the listed code PRs land. #9634 has no README diff and its non-README patch is byte-identical across the main merge (SHA-256 a7f0cdfab372c22b3c071b1456a9615e108b4f28cfa9975c250f92c7891f8683).

Follow-up: merged current main, preserving every ledger entry from both sides, including the #9614 and #9634 additions. Added #9622’s rejected-lever section verbatim. The earlier README conflict noted above is resolved.

#9634 validation update at b164de5303: the controlled post-#9616 pair confirms the eager-JS reduction, and the exact code head now passes the FULL four-shard viewer suite: 22,698 passed / 0 failed / 15 optional external-prerequisite skips, no cancellations. Published Pop request auto-8e0b7bfa8378416ba6ab1eea8fd98950 supplies acceptance; both prior receipts remain preserved (reboot UNKNOWN, then zero-test TMPDIR startup failure). Typecheck, lint, emitted lazy assertion, retained-free, ratchet and code pre-handoff pass. This supersedes the earlier pending-coverage note. Docs pre-handoff on this append: 10 PASS / 4 SKIPPED (two TypeScript-dependent scans, YAML audit, absent viewer dist), no failures; diff check passes. The code PR's pre-handoff passed all14 gates. Keep this consolidated PR held until the listed code PRs land.

  • #9742: viewer entry import-dominator diet; defer Gantt, Lists and Extensions management UI through the shared panel boundary. Controlled entry/eager size reductions and readiness/testing lesson; boot observations remain pending. Added in beaf647e92; the code PR never touches README. Merge this ledger entry after the code PR, or revise the verdict if it does not land.