vscode-write-good icon indicating copy to clipboard operation
vscode-write-good copied to clipboard

Slows down typing to a crawl

Open mxstbr opened this issue 3 years ago • 1 comments

I recently noticed that VS Code sometimes is very slow while typing and it takes seconds for the characters to show up. After profiling when it was slow again (it only starts being slow after using it a bit), this was the result:

Screenshot 2021-05-10 at 11 40 03

I.e. Write Good Linter was responsible for making VSCode unresponsive :cry: After disabling it, everything was fast again, which is very unfortunate as I quite like this extension!

mxstbr avatar May 10 '21 09:05 mxstbr

I understand your concern here! Can you describe your setup here a bit, so I can poke at limits a bit? I’m guessing there’s a rather sizable markdown file open (or any type of file you have registered to be linted in your configuration). There is an option to just do diff analysis when a change goes through or debounce so it doesn’t process the whole file every keystroke (e.g. only once every few seconds). But they both add a bunch of complexity so I’d rather dive in and see if I have other options first. Even if I did those, we’d still have a first run problem of processing a huge file (if that is in fact the issue).

TravisTheTechie avatar May 14 '21 22:05 TravisTheTechie