iTerm2 100% CPU usage while idle
- iTerm2 version: iTerm2 3.3.20181125-nightly
- OS version: 10.14.1 (18B75)
iTerm2 is consuming 100% CPU of a single core after running for some time with 3 windows and a few tabs open. All of the sessions were idle, with no input or scrolling output.
Even after closing all sessions/windows CPU usage remained at 100% CPU.
After restarting iTerm2, CPU usage dropped to normal levels.
While this issue is not cleanly reproducible, I've seen high idle CPU usage on two different Macs a couple of times in the last few nightly builds.
I've attached a ~30s Instruments Time Profile trace with debuglog enabled for the same duration.
I also have a much longer trace while I slowly close all windows which I could upload if needed.
I forgot to sample the process while it was running, but the instruments trace should contain comparable information.