[PR #10921] [MERGED] Improve WriteCharsLegacy performance by increasing local buffer size #28305

Open
opened 2026-01-31 09:27:41 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10921
Author: @lhecker
Created: 8/11/2021
Status: Merged
Merged: 8/12/2021
Merged by: @undefined

Base: mainHead: dev/lhecker/perf-write-chars-legacy


📝 Commits (1)

  • 681be8a Improve WriteCharsLegacy performance

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 src/host/_stream.cpp (+3 -3)

📄 Description

Improve WriteCharsLegacy performance by increasing LocalBuffer size, allowing
longer runs of characters to be submitted to the remaining parts of conhost.

References #10563 -- vtebench tracking issue

Validation Steps Performed

  • Ran cat big.txt, vtebench and termbench and
    noted ~5% performance improvements

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10921 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 8/11/2021 **Status:** ✅ Merged **Merged:** 8/12/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lhecker/perf-write-chars-legacy` --- ### 📝 Commits (1) - [`681be8a`](https://github.com/microsoft/terminal/commit/681be8a3e75304acb844b267c8f87a1d2979288c) Improve WriteCharsLegacy performance ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/host/_stream.cpp` (+3 -3) </details> ### 📄 Description Improve WriteCharsLegacy performance by increasing LocalBuffer size, allowing longer runs of characters to be submitted to the remaining parts of conhost. References #10563 -- vtebench tracking issue ## Validation Steps Performed * Ran `cat big.txt`, vtebench and termbench and noted ~5% performance improvements --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:27:41 +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#28305