This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 27
High CPU load on bigger branch #170
Labels
Comments
OK, I found the issue. It is in statusline. When I comment out statusline the CPU load goes to zero. If you think there's no way of optimizing |
Thanks for the investigation. Could you check which one causes the issue
I guess the last one. |
Yes, the last one: |
Thanks. I'll consider to make it fully async. |
lambdalisue
added a commit
that referenced
this issue
Nov 11, 2018
Executing 'sleep' would invokes asynchronous code execution and some features is not allowed to be called from statusline from Vim 8.1.0342. Using System.Job#wait() to make process call synchronous in statusline component would cause numerous unwilling issues like #170, #182, or "Not allowed here" message. So this commit made statusline components make fully asynchronous to prevent calling System.Job#wait() from statusline. Ref: vim-jp/issues#1185
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I open Neovim (version 0.3.0 without any session or any file) on repository folder with branch checked (with 145 commits ahead of master) the CPU load of nvim instance goes to 57 - 60% and stays there. Is gina.vim doing any computation in background that could cause this?
Uninstalling gina solved CPU load problem or switching branch to master. I have latest macOS and I'm not doing anything special in my nvim config with gina:
The text was updated successfully, but these errors were encountered: