Skip to content

Optimize grapheme renderer performance#352

Closed
brandonkachen wants to merge 1 commit intobrandon/tui-altbufferfrom
codex/improve-tui-app-performance-and-rebase
Closed

Optimize grapheme renderer performance#352
brandonkachen wants to merge 1 commit intobrandon/tui-altbufferfrom
codex/improve-tui-app-performance-and-rebase

Conversation

@brandonkachen
Copy link
Collaborator

Summary

  • replace the lodash-based grapheme diffing with lightweight helpers and direct string command generation
  • cache cursor state in the renderer to avoid redundant cursor writes and skip unnecessary stdout updates
  • clean up timer management with clearTimeout/clearInterval during refresh and shutdown

Testing

  • pnpm --filter @codebuff/display typecheck (fails: missing grapheme-splitter module because node_modules is absent in the workspace)

https://chatgpt.com/codex/tasks/task_e_68fc6b85e500832ca47e1231856746b2

@brandonkachen brandonkachen deleted the codex/improve-tui-app-performance-and-rebase branch December 10, 2025 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants