-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Jittery cursor motion related to performance #1682
Comments
Sounds similar to #1154. Can you try https://github.com/VSCodeVim/Vim#mac-setup and see if that helps? |
I dont think mac-setup will help, especially since he is on windows ;) @johnfn I suspect the task queue still, I really do... I have seen this type of behavior every once in awhile still as well |
No, mac-setup definitely won't work for Windows 10 ;) |
I've been looking at this issue intermittently, and I suspect that this piece of code might be the cause (the issue is related too): #1340 (comment) |
During the last weeks I've noticed that I didn't had any problem with this issue. Code is running smoothly with VSCodeVim enabled. I was curious and looking for what might have changed during this time I've found this: #1842 Closing this issue. |
Very possible. I'm very sorry that we made such a stupid mistake that screwed up our performance so badly :p |
The VSCodeVim team prioritizes issues based on reaction count.
BUG REPORT
Environment:
What happened:
Motion by keeping pressed a key is jittery with random back jumps. For example, I've recorded the motion while scrolling a file from bottom to top. At the start of the video I press and hold cursor up key and I don't release it until the end of the video:
This happens with any motion command (cursor keys, hjkl, ebw...). Note the last jump, from line 1 to line 50 and then back to line 1 and jump again to line 48.
This effect is somewhat related to performance. It happens when the CPU has some work load. I've observed that it;s only noticeable when global CPU load is over 50/60%, more noticeable as the CPU load increases. Disabling VSCodeVim and moving with cursor keys works fine even when CPU is at 100% (not very responsive due to cpu load, but no jittering).
While scrolling with VsCodeVim enabled, I can see two VSCode processes with 20/25% CPU load each one. While scrolling with VsCodeVim disabled, VSCode only goes to 10/15% CPU.
I've observed this behaviour also on OSX.
The text was updated successfully, but these errors were encountered: