Processing a didChange event with many edits (such as from document formatting) is too slow #7159
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
performance
quick fix
Milestone
Doing a format document can cause 500+ edits to be processed from didChange and every one may have to iterate over every character of the document, which can take 7+ seconds for a 2-3k line file, which seems too slow.
This was hit when investigating #7131 .
The text was updated successfully, but these errors were encountered: