-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: yield after checking diagnostics for an open file
This commit contains a few perf improvements: 1. Increase debounce time from 200ms to 300ms This increases the likelihood of consolidating diagnostics requests, but should have little impact on user perception. 2. While in the middle of a diagnositc check, stop the operation if there is another pending diagnostic request. 3. After checking a file, yield the execution thread so that the server gets a chance to process incoming requests.
- Loading branch information
Showing
2 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters