macOS: Ghostty using 100% CPU #3723
-
Noticed that Ghostty was using 100% CPU, so I grabbed a CPU profile under Instruments and found that the hottest call stack was related to the Quick Terminal feature: When I drill into that stack, ghostty/macos/Sources/Features/QuickTerminal/QuickTerminalController.swift Lines 310 to 318 in 196af6f Given the window isn't open, this will repeatedly call the Note Re-opening the Quick Terminal reduces the CPU to nominal levels again. To re-trigger the high CPU usage, force a reload of your configuration and watch it spike again. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I also had Ghostty taking close to 100% CPU, while being idle, on my M2 Air Sonoma 14.7; but as it didn't happen again, I can't say if it was Quick-Terminal related. |
Beta Was this translation helpful? Give feedback.
-
Thank you for finding this! This was the source of CPU issues on the regular terminal long ago, I forgot to apply similar fixes to the quick terminal. Approved: #3998 |
Beta Was this translation helpful? Give feedback.
Thank you for finding this! This was the source of CPU issues on the regular terminal long ago, I forgot to apply similar fixes to the quick terminal. Approved: #3998