Skip to content

perf: improve terminal frame pacing and diff rendering#86

Open
KoalaHao wants to merge 2 commits into
Norbert515:mainfrom
marsup-space:codex/nocterm-60fps
Open

perf: improve terminal frame pacing and diff rendering#86
KoalaHao wants to merge 2 commits into
Norbert515:mainfrom
marsup-space:codex/nocterm-60fps

Conversation

@KoalaHao

Copy link
Copy Markdown
Contributor

Summary

  • Batch adjacent changed terminal cells during differential rendering to reduce cursor moves and write overhead.
  • Share scheduler frame pacing logic between bindings.
  • Track the next target frame time independently from late timer callbacks, so small overshoots do not permanently lower effective FPS.
  • Add focused regression coverage for contiguous diff writes, wide glyphs, batching, and frame pacing drift.

Tests

  • dart analyze
  • dart test test/rendering/terminal_diff_output_test.dart test/foundation/scheduler_batching_test.dart

@KoalaHao KoalaHao changed the title perf: improve 60fps terminal rendering perf: improve terminal frame pacing and diff rendering Jun 16, 2026
@KoalaHao KoalaHao force-pushed the codex/nocterm-60fps branch 2 times, most recently from d9b6b9f to 2cc2142 Compare June 16, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant