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-09-10 12:13:53 -07:00
2025-12-23 12:40:40 -08:00
2025-12-23 12:40:40 -08:00
2025-12-04 08:32:54 -08:00
2025-12-11 15:09:00 -08:00
2025-12-18 08:35:22 +00:00
2025-11-05 09:50:40 -08:00
2025-11-05 09:50:40 -08:00
2025-12-23 12:40:40 -08:00
2025-12-23 12:40:40 -08:00
2025-10-20 21:08:19 +00:00
2025-12-23 19:10:15 -08:00
2025-12-18 17:02:03 -08:00
2025-12-10 13:59:17 -08:00
2025-08-20 17:11:09 +00:00
2025-12-22 15:12:23 -08:00
2025-12-22 15:12:23 -08:00
2025-09-27 13:25:09 -07:00
2025-12-23 16:01:46 -08:00
2025-11-19 00:47:37 +00:00
2025-12-04 10:50:20 -08:00
2025-09-26 16:35:56 -07:00
2025-11-07 15:54:07 -08:00
2025-12-23 15:48:06 -08:00
2025-11-17 22:23:53 -08:00
2025-12-22 15:12:23 -08:00
2025-11-20 12:33:12 -08:00
2025-09-15 00:42:53 -07:00
2025-08-15 15:32:41 -07:00
2025-12-23 16:01:46 -08:00
2025-10-30 18:07:51 -07:00
2025-12-09 10:23:11 -08:00
2025-12-22 15:59:30 -08:00
2025-08-05 04:23:22 +00:00
2025-09-22 22:24:31 +00:00
2025-11-20 21:06:22 +00:00
2025-12-12 21:47:37 -08:00
2025-10-20 21:08:19 +00:00
2025-10-20 21:08:19 +00:00
2025-12-18 10:59:53 -08:00
2025-11-17 11:49:09 -08:00
2025-12-09 10:23:11 -08:00
2025-12-18 16:12:52 -08:00
2025-12-18 10:59:53 -08:00
2025-10-07 16:18:48 -07:00
2025-10-08 20:23:13 +00:00
2025-12-22 09:53:03 +01:00
2025-12-23 12:40:40 -08:00
2025-10-08 20:23:13 +00:00
2025-10-31 16:36:41 -07:00
2025-12-17 16:19:27 +00:00
2025-12-23 12:40:40 -08:00
2025-12-17 17:08:03 +00:00
2025-12-23 19:10:15 -08:00
2025-09-30 00:10:04 +00:00
2025-11-10 09:05:00 -08:00
2025-11-10 09:05:00 -08:00
2025-11-24 15:04:49 -05:00
2025-09-05 16:27:31 -07:00
2025-12-12 21:47:37 -08:00