Skip to content

perf(terminal): improve rendering and release host 0.4.4 - #31

Merged
HeftyKoo merged 1 commit into
mainfrom
codex/terminal-performance-0.4.4
Nov 5, 2026
Merged

HeftyKoo merged 1 commit into
mainfrom
codex/terminal-performance-0.4.4

Conversation

@HeftyKoo

@HeftyKoo HeftyKoo commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Dense colored terminal output made typing and Chill-mode scrolling lag. Keep one WebGL renderer across Focus and Chill, preserving translucent backgrounds and opaque text, selection and cursor, with a DOM fallback when GPU initialization or context recovery fails. Bound large output writes, coalesce cumulative acknowledgements and drain host queues in linear time.

Prepare terminal-host 0.4.4 with the matching installer, release contract, changelog and workflow. Extension 0.4.2, DSH 0.4.0 and connector protocol 1 retain their versions.

Validation: pnpm install --frozen-lockfile and pnpm release:audit passed: 441 tests, 2 optional skips, all browser builds, Safari native validation, reproducible archives, isolated production install, Claude/Pi integration checks and real shell I/O. Chrome 156 at 140×48 and 4× CPU throttling measured Focus/Chill typing p95 of 4/3 ms, and continuous-output Chill wheel/drag p95 of 61/49 ms, with 17 ms frame p95 and zero long tasks. GPU/DOM pixel comparison, context restoration/fallback, copy gestures and real extension/PTY keyboard mode transitions passed.

The compatibility bridge uses pinned xterm 5.5.0 / WebGL addon 0.18.0 internals; upgrades require the included pixel and regression checks. GPU-disabled environments retain the slower DOM fallback. Existing installed services and live terminal sessions were preserved. See docs/verification/terminal-performance-2026-11-05.md for verification details.

@HeftyKoo
HeftyKoo marked this pull request as ready for review November 5, 2026 10:02
@HeftyKoo
HeftyKoo merged commit 5607470 into main Nov 5, 2026
2 checks passed
@HeftyKoo
HeftyKoo deleted the codex/terminal-performance-0.4.4 branch November 5, 2026 10:05
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