diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-04-10 18:06:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-10 18:06:37 -0700 |
commit | 736f73b008c3f0354b870b70b8d494983046b0f7 (patch) | |
tree | a6f51edc66cdc41fc5d8c4efa912f6e15231a393 /tests/specs/npm/local_dir_no_duplicate_resolution/main.tsx | |
parent | 9304126be5633d4e7d384a8df87f5833a7a145e2 (diff) |
perf(lsp): Only evict caches on JS side when things actually change (#23293)
Currently we evict a lot of the caches on the JS side of things on every
request, namely script versions, script file names, and compiler
settings (as of #23283, it's not quite every request but it's still
unnecessarily often).
This PR reports changes to the JS side, so that it can evict exactly the
caches that it needs too. We might want to do some batching in the
future so as not to do 1 request per change.
Diffstat (limited to 'tests/specs/npm/local_dir_no_duplicate_resolution/main.tsx')
0 files changed, 0 insertions, 0 deletions