Make the list-search 8 ms gate measure steady-state p95 #712

Closed
kayg wants to merge 0 commits from fix/list-search-gate into dev
Owner

The list-search gate recorded only 16 inputs, so its p95 was the maximum and occasional cold/runtime outliers flipped the 8 ms gate on unchanged code. Warm two typing/backspacing cycles under the same 6x throttle, report their timings separately, and collect at least 100 actual DOM-update observations for steady-state p95. The fixture word, keyboard cadence, input-to-DOM endpoint, blank-frame check and 8 ms limit stay the same. Product code is unchanged.

On 10by32-01-std under perf-lock, 20 separate baseline gates passed 19/20; 20 corrected gates passed 20/20 with 128 samples each and zero blank frames. The distribution of per-run gate p95 values was:

p50 p95 max
Baseline 5.8 ms 8.4 ms 8.4 ms
Corrected 5.4 ms 5.5 ms 5.5 ms

Percentiles use the existing harness order statistic. Raw measured input maxima remain visible: 8.4 ms before and 11.4 ms after; no steady-state outlier is filtered or retried. CDP tracing showed cold V8 deoptimization and no GC inside the marked input intervals.

Validation: list-search specs on chromium-1440, chromium-390, webkit-1440 and webkit-390 with --workers=1: 28 passed, 28 layout-specific skips. Bundle gate passed against the unchanged production build. Typecheck passed with 0 errors and 14 warnings. Independent code review found no important issues.

Evidence, all run distributions and verbatim gate output: issue #711. No merge or deployment.

The list-search gate recorded only 16 inputs, so its p95 was the maximum and occasional cold/runtime outliers flipped the 8 ms gate on unchanged code. Warm two typing/backspacing cycles under the same 6x throttle, report their timings separately, and collect at least 100 actual DOM-update observations for steady-state p95. The fixture word, keyboard cadence, input-to-DOM endpoint, blank-frame check and 8 ms limit stay the same. Product code is unchanged. On 10by32-01-std under perf-lock, 20 separate baseline gates passed 19/20; 20 corrected gates passed 20/20 with 128 samples each and zero blank frames. The distribution of per-run gate p95 values was: | | p50 | p95 | max | |---|---:|---:|---:| | Baseline | 5.8 ms | 8.4 ms | 8.4 ms | | Corrected | 5.4 ms | 5.5 ms | 5.5 ms | Percentiles use the existing harness order statistic. Raw measured input maxima remain visible: 8.4 ms before and 11.4 ms after; no steady-state outlier is filtered or retried. CDP tracing showed cold V8 deoptimization and no GC inside the marked input intervals. Validation: list-search specs on chromium-1440, chromium-390, webkit-1440 and webkit-390 with --workers=1: 28 passed, 28 layout-specific skips. Bundle gate passed against the unchanged production build. Typecheck passed with 0 errors and 14 warnings. Independent code review found no important issues. Evidence, all run distributions and verbatim gate output: [issue #711](https://git.kayg.org/kayg/calternal/issues/711). No merge or deployment.
Fix list search gate sampling
Some checks failed
CI / server (pull_request) Successful in 1m30s
CI / rust (pull_request) Successful in 21m51s
CI / web (pull_request) Failing after 1h0m3s
4bb7e26d8b
Author
Owner

Superseded by #723 (same change rebased on dev 5ffd5dd7, full CI green), now merged. Closing.

Superseded by #723 (same change rebased on dev 5ffd5dd7, full CI green), now merged. Closing.
kayg closed this pull request 2026-10-28 12:32:31 +00:00
Some checks failed
CI / server (pull_request) Successful in 1m30s
CI / rust (pull_request) Successful in 21m51s
CI / web (pull_request) Failing after 1h0m3s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!712
No description provided.