[3.6.10 regression] Pasting is SIGNIFICANTLY SLOW after upgrading to 3.6.10
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 240
- Forks
- 60
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 1
Description
Tested msys2-runtime with version 3.6.9-2, 3.6.10-1, 3.6.10-2. Both bash and zsh in Windows Terminal.
Copy any multiline text and paste it to terminal. (singleline text pasting is also slow, but not that significant)
For 3.6.9-2, the time cost is nearly ignorable, especially for bash.
For 3.6.10-1 and 3.6.10-2, both bash and zsh takes significant time (more than 20s for less than 200 characters, 6 lines).
I've checked this problem doesn't comes from my config / Windows Terminal: Not only downgrade to 3.6.9 solves the problem, but also pasting in cmd / Powershell / bash & zsh from WSL with same config all solves the problem.
Another discovery: From Task Manager, both bash and zsh takes up a full core when pasting with 3.6.10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the regression by comparing msys2-runtime 3.6.9-2 with 3.6.10-1 or 3.6.10-2 while pasting multiline text in bash and zsh under Windows Terminal. Compare the runtime behavior with cmd, PowerShell, and WSL to narrow the scope. Done means pasting is no longer significantly slower or CPU-intensive in the affected versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, c, zsh
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100