Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Keystroke performance regression? #53
First off, thanks for the great extension!
Second, my installation updated to 1.17 today from a much older version (perhaps 1.10-ish? -- it's been a few weeks since I've restarted VS Code). What I noticed today on my existing todo file is that every keystroke has a CPU lag with it, which is really distracting.
I started a new empty todo file to see if that had the same issue. While it was unnamed, typing speed was fine. When I saved it as a todo+ file so the extension would kick in, it suddenly got laggy.
If you can point me to a guide on the internet for doing local vscode extension development, I can try to bisect the repository and see if I can locate what changed.
This extension is quite heavy CPU-side, much more than it should. It's currently recomputing the decorations every time the content of the file changes, for every line. This thing is so unoptimized that I would consider it a bug, I'll work on this after I finish fixing some other long-open issues.
I've recently added statistics, which are quite heavy on the CPU, especially project-level statistics. Can you try turning them off (
If it doesn't, are you running this in some not-so performant hardware?
I don't know any such guide I could recommend you, but what you'd have to do is basically: