[PR #15498] Vectorize StateMachine::ProcessString #30660

Closed
opened 2026-01-31 09:42:09 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15498

State: closed
Merged: Yes


The added explicit vectorization allows us to skip plain text faster
and pass it immediately to the deeper TextBuffer parts.

Performance of printing enwik8.txt at the following block sizes:
4KiB (printf): 54MB/s -> 58MB/s
128KiB (cat): 103MB/s -> 116MB/s

Validation Steps Performed

  • Works on x64 ✅
  • Works on ARM ✅
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15498 **State:** closed **Merged:** Yes --- The added explicit vectorization allows us to skip plain text faster and pass it immediately to the deeper `TextBuffer` parts. Performance of printing enwik8.txt at the following block sizes: 4KiB (printf): 54MB/s -> 58MB/s 128KiB (cat): 103MB/s -> 116MB/s ## Validation Steps Performed * Works on x64 ✅ * Works on ARM ✅
claunia added the pull-request label 2026-01-31 09:42:09 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30660