120 Hz Engineering Report ยท 2026-12-02

What Was Done to Get Rid of Micro-Jerks

Investigation, telemetry instrumentation, and frame-pacing optimizations applied across the 120 Hz Sync Test harness and Two-Features, Two-Handles (#debug) on Spacesheep and GitHub Pages.

Sync Test Micro-Jerks
4 → 0
Under ±0.55 ms Chrome IPC noise (MICRO-JERK → 120 HZ SYNC)
Sync Test JS p95
1.4 ms → 0.2 ms
7× faster JS frame time (0.0 ms median)
#debug Velocity CV (Pan)
0.0628 → 0.0001
628× lower step variance under ±0.55 ms IPC noise
Euclidean 2222 (Canvas 2D)
4 drops → 0 drops
jsP95 4.9 ms → 1.6 ms; 14/14 checks pass in test:120hz

1. Reading the Captured Failure Signature

Your macOS desktop Chrome capture on 120hz-sync-test.html reported:

120.0101 Hz [GL|FIX] rDt 8.30/9.30 ph +/-0.60ms eo 0.00ms lag 0.1 js 0.20ms gpu 0.15ms · MICRO-JERK · DROP 0 · MICRO 16 · LATE 0 · GPU Query: ON
DPR 2 · q=0.1ms · COI=false

2. What Was Fixed on 120hz-sync-test.html

3. Micro-Jerk Telemetry & Optimizations Applied to two-features-two-handles#debug

4. Verified Before & After Measurements

A. Simulated macOS Chrome ±0.55 ms IPC Jitter Harness (q=0.1 ms, bench-microjerks.mjs)

Target & Metric Before After Notes
120hz-sync-test.html — Micro-jerks 4 0 False positives over ~312 frames
120hz-sync-test.html — Late commits 1 0 Initial startup + threshold calibration
120hz-sync-test.html — Status badge MICRO-JERK 120 HZ SYNC hardDrops=0, olsHz=119.9958 Hz
120hz-sync-test.html — JS P50 / P95 0.1 ms / 1.4 ms 0.0 ms / 0.2 ms Zero per-frame allocs & 16-frame sort cache
#debug (3333 Fast Pan) — Velocity CV 0.0628 0.0001 OLS-locked nTicks * T stepping
#debug — Micro-jerk UI counter none (null) 0 micro (GPU: OFF) Live in #dbg-stutters, graph HUD, & API

B. Headless Chrome Virtual 120 Hz Metal Pacer Suite (npm run test:120hz)

Scenario Before After Status
1. Debug Pan Fast (3333) cv=0.1014, drops=0, lr=0 cv=0.005, micro=0, drops=0, jsP95=0.2ms, lr=0 PASS
5. Play 2222 Euclidean wheel (Canvas 2D) drops=4, dt=8.33/25.43ms, jsP95=4.9ms, cv=0.2558 drops=0, dt=8.33/8.33ms, jsP95=1.6ms, cv=0.0601 PASS
120hz-sync-test.html fault & layout suite 20 checks (baseline) 21/21 passed (incl. Test 2b IPC noise = 0 micro-jerks) PASS
two-features-two-handles unit tests 87/87 passed 88/88 passed (incl. ±0.55 ms / beat / slip test) PASS