summaryrefslogtreecommitdiff
path: root/cli/tools/coverage
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-04-22 08:03:16 -0700
committerGitHub <noreply@github.com>2024-04-22 08:03:16 -0700
commitaac7a8cb7cc675e3cb2ca1ddb39629a8fa59113b (patch)
treec7bfff39027d739281b8f666d91023e921a45746 /cli/tools/coverage
parent2f5a6a8514ad8eadce1a0a9f1a7a419692e337ef (diff)
perf(lsp): Batch "$projectChanged" notification in with the next JS request (#23451)
The actual handling of `$projectChanged` is quick, but JS requests are not. The cleared caches only get repopulated on the next actual request, so just batch the change notification in with the next actual request. No significant difference in benchmarks on my machine, but this speeds up `did_change` handling and reduces our total number of JS requests (in addition to coalescing multiple JS change notifs into one).
Diffstat (limited to 'cli/tools/coverage')
0 files changed, 0 insertions, 0 deletions