New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU usage when this plugin is enabled #144
Comments
What kind of CPU do you have? |
Intel(R) Core(TM) i7-8565U CPU
Yes
On my setup it is perfectly reproducible, the CPU is stressed whole time since starting ST. It goes back to normal when I add TrailingSpaces into ignored packages... |
There is a |
It really seems that it is related. When setting |
I see similar behavior as you - CPU usage peaks and then it is slowly decreasing, then peaks again. TrailingSpaces settings is blank. I also tried to find if there is any interaction with other packages but it does not seem so. |
FYI: Created ST issue for it sublimehq/sublime_text#3353 |
I was also experiencing a continuous high CPU load in ST3. After trying a lot of things, I finally narrowed it down to this plugin. Setting a high update_interval (10s) seems to work, thanks |
This is fixed in the latest dev builds of ST4 (see sublimehq/sublime_text#3353) so I'm closing this issue also. Unfortunately, it's not likely that ST3 will receive the same fix. |
Just to be sure I understand, there's a bug in ST causing this, it's been fixed in the latest dev release, but the same fix won't be applied to the current stable release, and now the bug is closed? |
Yes. The solution for ST3 users is to increase the |
I guess I have to appreciate the honesty? 🤷♂️ Thanks @rchl. |
@garymoon: reverting to |
I see a high CPU usage (around 15-20%) with TrailingSpaces enabled, even when sublime is on background. My operating system is Arch Linux, sublime-text-dev package...
The text was updated successfully, but these errors were encountered: