phoenisxP
Denoβ€’4y ago
phoenisx

LSP becomes slow when importing large json

Filtered perf measures
semantic_tokens_range (6638ms)
request (6638ms)
inlay_hint (105800ms)
request (105800ms)
initialize (1350ms)
update_registries (1292ms)
update_tsconfig (53ms)


JSON file that's being imported and lives in memory is 116M in size

How can I disable or exclude parsing this JSON file in VSCode extension, so that extension features are not affected.?
Was this page helpful?