Josh McKinney
96a65ff0ed
perf(tui): cap redraw scheduling to 60fps ( #8499 )
...
Clamp frame draw notifications in the `FrameRequester` scheduler so we
don't redraw more frequently than a user can perceive.
This applies to both `codex-tui` and `codex-tui2`, and keeps the
draw/dispatch loops simple by centralizing the rate limiting in a small
helper module.
- Add `FrameRateLimiter` (pure, unit-tested) to clamp draw deadlines
- Apply the limiter in the scheduler before emitting `TuiEvent::Draw`
- Use immediate redraw requests for scroll paths (scheduler now
coalesces + clamps)
- Add scheduler tests covering immediate/delayed interactions
2025-12-23 19:10:15 -08:00
..
2025-12-10 22:53:46 +00:00
2025-12-23 12:40:40 -08:00
2025-12-23 12:40:40 -08:00
2025-12-10 22:53:46 +00:00
2025-12-12 20:46:18 -08:00
2025-12-18 08:35:22 +00:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-23 12:40:40 -08:00
2025-12-23 12:40:40 -08:00
2025-12-10 22:53:46 +00:00
2025-12-23 19:10:15 -08:00
2025-12-18 17:02:03 -08:00
2025-12-12 20:46:18 -08:00
2025-12-10 22:53:46 +00:00
2025-12-12 20:46:18 -08:00
2025-12-23 19:10:15 -08:00
2025-12-10 22:53:46 +00:00
2025-12-23 16:01:46 -08:00
2025-12-10 22:53:46 +00:00
2025-12-15 17:20:53 -08:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-23 15:48:06 -08:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-23 16:01:46 -08:00
2025-12-23 21:05:06 +00:00
2025-12-22 18:54:58 -08:00
2025-12-23 21:05:06 +00:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-23 21:05:06 +00:00
2025-12-23 21:05:06 +00:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-18 08:58:44 -08:00
2025-12-10 22:53:46 +00:00
2025-12-23 19:10:15 -08:00
2025-12-18 16:12:52 -08:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-22 09:53:03 +01:00
2025-12-23 12:40:40 -08:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-22 00:00:32 -08:00
2025-12-23 12:40:40 -08:00
2025-12-10 22:53:46 +00:00
2025-12-23 21:05:06 +00:00
2025-12-23 21:05:06 +00:00
2025-12-23 21:05:06 +00:00
2025-12-23 21:05:06 +00:00
2025-12-23 21:05:06 +00:00
2025-12-23 19:10:15 -08:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-16 11:31:55 -08:00
2025-12-10 22:53:46 +00:00
2025-12-10 22:53:46 +00:00
2025-12-23 21:05:06 +00:00