Skip to content

Performance boost for terminal backend#222

Merged
almarklein merged 1 commit into
mainfrom
term-perf
Jul 3, 2026
Merged

Performance boost for terminal backend#222
almarklein merged 1 commit into
mainfrom
term-perf

Conversation

@almarklein

@almarklein almarklein commented Jul 3, 2026

Copy link
Copy Markdown
Member

By doing RLE on the colors. Like more than twice as fast (from 27 fps to 70 fps in a quick test). The benefit is even larger on SSH, because it significantly reduces the size of the stream. Especially benefits cases with relatively large blocks of the same color.

Also reduces flicker of the overlay, since the overlay is now 'baked' into the line.

@almarklein almarklein merged commit 8da3130 into main Jul 3, 2026
21 checks passed
@almarklein almarklein deleted the term-perf branch July 3, 2026 11:40
@almarklein almarklein mentioned this pull request Jul 3, 2026
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