Writing a lot of output to scrollback causes severe performance hit thereafter
Performance issue
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.5.0
- OS version: 14.5
- Attach
~/Library/Preferences/com.googlecode.iterm2.plist
here (drag-drop from finder into this window) *** I don't know if this did what it was supposed to do *** - com.googlecode.iterm2.plist
- Attach a debug log, if possible.
- Attach a screen capture video if it would make the reproduction steps clearer.
- Please attach a process sample
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem
- Create a 10MB text file
- From iTerm command line, > cat textfile.txt
What happened
It runs very fast, but stalls for several seconds before finishing. When command prompt reappears, all responsiveness is very sluggish and top shows iterm consuming 50%. Clearing scrollback (CMD-K) doesn't fix it. Closing the session tab fixes it.
What should have happened
Previous version of iTerm didn't take any sort of performance hit with large-ish scrollback buffer.
Edited by Chap Harrison