Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Dec 17, 2025

Fixes #833

Merge first:


After this change, pasting 5mb(!) into the xterm.js demo takes 14 seconds, as opposed to 8 seconds for kitty and ghostty. We likely can't squeeze more perf out of it without removing the node overhead which isn't worth it considering the additional maintenance overhead and how well this performs already now.

@Tyriar Tyriar added this to the December / January 2026 milestone Dec 17, 2025
@Tyriar Tyriar self-assigned this Dec 17, 2025
@Tyriar Tyriar marked this pull request as draft December 17, 2025 13:46
@Tyriar Tyriar marked this pull request as ready for review December 17, 2025 22:45
@Tyriar Tyriar merged commit f06b58c into main Dec 18, 2025
5 checks passed
@Tyriar Tyriar deleted the tyriar/833 branch December 18, 2025 12:20
Tyriar added a commit to microsoft/vscode that referenced this pull request Dec 19, 2025
Brings in further improvements to handling of write backpressure. After
this we no longer throttle at all which means that for older versions of
bash at least on macOS interleaving is possible, but pasting and sending
should be near instantaneous for any reasonable amount of text. I
measured zsh injesting 5mb of data in ~14 seconds.

See:

- microsoft/node-pty#835
- microsoft/node-pty#837
- microsoft/node-pty#839

Part of #246204, #283056
@Tyriar Tyriar modified the milestones: December / January 2026, 1.1.0 Dec 21, 2025
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.

Investigate replacing the setTimeouts in the backpressure handling

3 participants