#319 UI benchmark: keyboard zoom at 1,000 moments on a 4× slow CPU keeps landing over its 225 ms budget in CI
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#319
- issue
- state:closed
The **UI capacity advice** job (`bench/ui.mjs --gate`, browser ×4 throttle, 1,000 moments) has failed on **keyboard-zoom** five times in a row across unrelated changes: 246, 251, 254 and 262 ms against a 225 ms budget (main at 8635fa5 and 28636f5, PRs #297 and #302). Before 25 October it measured 166–197 ms. Other scenarios moved a little too (wheel-zoom 117–130 → 143–164 ms). Reruns usually pass. A local A/B of the commits before and after the first failure (#300) measured the same within noise, so it looks like a slower or changed GitHub runner rather than a code regression. But it now blocks merges and releases about half the time. To decide: - Profile keyboard zoom at ×4 throttle. It may simply be close to the budget: each key press animates a zoom and the gate measures the view's settle time. - Re-baseline the budget for keyboard zoom specifically, or measure the median of more samples (`UI_SAMPLES`) so one slow sample doesn't fail the gate. - Or find a real saving in the keyboard zoom path. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/issues/319
Related
- #297 Accounts agree to the terms and privacy policy, and it is recorded
- #300 Sign in with Microsoft (Entra ID) through OpenID Connect
- #302 A sign-in provider can be turned off without removing its credentials
- #320 The UI gate allows keyboard zoom 2× its budget until it is profiled
- #321 The first frame of a zoom animation moves the view
- #594 A zoom's first frame moves the view on a stalled page too (#319)
- Keyboard zoom meets the UI gate's usual tolerance again (#319)
- The first frame of a zoom animation moves the view (#319)
- The UI gate allows keyboard zoom 2× its budget until it is profiled (#319)
- Merge pull request #594 from openchronology/fix/zoom-stalled-first-frame
- A zoom's first frame moves the view on a stalled page too (#319)