High CPU Usage with Custom Scripted Status Bar Component
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.1
- OS version: 10.14.6 (18G87)
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
CPU samples captured from iTerm:
I wrote the following custom status bar component. After having it enabled for a while, iterm starts eating a lot of CPU, usually over 100% usage.
I've noticed this with as few as 1 tab open.
Detailed steps to reproduce the problem: 1. 2. 3.
What happened:
What should have happened: