Measurement rollout — 2026-10-31 #
This package changes measurement and instrumentation, not tiling or motion policy. New optimization proofs are reporting-only until their owning packages land.
| Finding | Outcome | Evidence / remaining work |
|---|---|---|
| H1 | Implemented | v5 instruction +3% gate, startup known-work probe, explicit fallback/smoke modes, deliberate frame-copy regression probe. |
| H2 | Fixed | Host-keyed files and strict OS/compiler/configuration/counter compatibility; identity and mismatch tests. |
| H3 | Implemented, live unverified | Timestamped fixture ring and six 20-trial scenarios. Delivered frames are measured, not compositor pixels. Settle90 is diagnostic. |
| M1 | Partial | Categorized emit-only sites and actual synthetic tap→reduce→plan→tick→write test. Correlated Command span and genuine combined Instruments templates remain undone. Supported signposts cannot be backdated. Automatic watcher reloads lack the explicit Reload interval. |
| M2 | Partial | Steady tick, retarget, publication, offscreen overlay, layer-identity and retained-memory measurements. Malloc-zone deltas cannot prove total allocation calls, so exact mallocs/tick gating is not claimed. |
| M3 | Implemented, live unverified | 60-second CPU/instruction/interrupt/package-idle budgets, failure captures, static wait inventory. Native Space phase is opt-in; physical display reconfiguration is not automated. |
| M4 | Implemented, live unverified | 30-window/2,000-command footprint soak, tail slope, debug-only inspection entitlement and owned-PID leak graph handshake. No release inspection entitlement. |
| M5 | Fixed | Actual load/power/thermal/process/Low Power Mode readings, exit 3 refusal, parser tests; this busy host was refused. |
| L1 | Implemented | Five interleaved A/B rounds with identical v5 measurement overlay, instruction ratios and 10,000-resample CPU confidence intervals. Default common-core scope excludes hooks absent on older revisions. |
| L2 | Fixed | Distinct wall/CPU/instruction p99; omitted below 1,000 latency samples; no p99 regression gate. |
| L3 | Fixed | Performance e2e filters and dedicated make targets; unknown scenario selections fail before launch. |
Deliberately not installed or fabricated #
- No remote Mac was selected or contacted. Remote and host-preparation commands require an explicit host. No nightly launch agent was installed.
- No quiet baseline was recorded. Preflight observed load 38.62 and maximum sampled process CPU 84.5% and refused with exit 3.
- Two headless proofs require genuine production hooks: layout traversal count and isolated undo-position cost. Live/signpost probes remain external entries with reasons. Unsupported entries never emit a fake successful baseline.
- Custom Instruments presets require genuine GUI exports. Default custom-template recording fails clearly; explicit installed presets are labelled non-equivalent.
- No Screen Recording, compositor pixel validation, or SIP-dependent call was added.
- Final integration reused the existing menu repair commits
d9762ba,6d8cade, and96ecdd3: idle mouse cancellation guard, current memory salts/notices/blocker fixtures, and consistent warnings for unknown config keys. Those changes were required to make the merged main test suite pass, not new measurement designs. - Smoke mode bounds the long motion soak to 30 ticks and yields between workload groups. Full release measurements still use 10,000 ticks; proof metrics say which ran. This prevents benchmark work from monopolizing UI tests' main actor.
Validation and measured evidence #
Debug and release production builds passed. Both parallel and non-parallel final runs passed 2,808 tests in 268 suites; all 18 shell regression suites passed. Strict formatting and name checks passed. Direct Swift Testing bundle loading and xunit output were verified with the selected Xcode helper (2 safe fixture timestamp tests).
Five interleaved A/B rounds passed all 44 common-core cases, with no instruction or bootstrap CPU regressions. Both revisions used the same v5 measurement overlay. The table gives the median of each revision's five instruction measurements; small differences are measurement variation, not claimed algorithmic improvements.
| Case | Base instructions/op | Head instructions/op |
|---|---|---|
| event-layout/grid/50 | 502,720 | 500,548 |
| layout-diff/bsp/50 | 447,249 | 445,181 |
| animation-plan-sample/200 | 974,202 | 974,171 |
| snapshot-menu/200 | 233,948 | 233,746 |
Raw A/B evidence is build/bench-ab/summary.json and its per-round reports. The
catalog has 84 executable new headless cases, plus 53 external/deferred
entries (137 total). Pending code fixes remain reporting-only. The full release
report contains 128 cases, with verified selfcounts and no zero placeholders.
The final layout-diff/bsp/50 frame-copy probe measured 448,382 → 579,052
instructions/op (+29.14%) and was correctly rejected by the +3% gate. Its
checksum stayed identical. Evidence: build/bench-regression-proof.json.
Live preflight stopped before Accessibility probing because release packaging
requires secure update metadata (A secure HTTPS URL without credentials or a fragment is required). No replacement URL or grant was invented. Smoothness,
idle, soak and leak budgets therefore remain live-unverified. Optional standalone
footprint category exports are also not implemented.
The interleaved A/B measurements precede integration from main. Final validation
includes main 40b50dc and the listed menu integration repairs: both builds, both
unit modes (2,808 tests in 268 suites), the 128-case release report, and the
regression probe passed. Static gates passed with no warnings. Every shell suite
passed; the final bundle-flag regression recheck passed 125 checks. The redundant
Swift 6 ConciseMagicFile flag was removed rather than suppressing its diagnostic.
Native workload waits now service real main-dispatch callbacks, detect three seconds without progress, and retain a 30-second overall bound. They do not mistake a progressing 500-event burst on a loaded host for a broken observation path. These liveness limits are not performance budgets. No host-independent baseline is fabricated.