0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-21 21:03:16 -05:00
denoland-deno/cli/lsp
Bartek Iwańczuk 23adf99e83
perf(lsp): cache completion item resolution during request (#27831)
This commit adds a simple HashMap cache to completion requests.

On a test project the time to compute completions went from 1200ms
to 75ms and the cache contained ~300 entries when 8000 completion
items were produced by the TSC.

This is a short-lived cache and is discarded once the completion
request is finished. In a follow up commits we could make it persist
between requests.
2025-01-26 22:40:53 +01:00
..
testing refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
analysis.rs refactor: move CliNpmResolver to deno_resolver::npm::NpmResolver (#27659) 2025-01-14 10:01:05 -05:00
cache.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
capabilities.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
client.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
code_lens.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
completions.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
config.rs refactor: make PackageJsonCache injectable (#27800) 2025-01-24 09:50:25 -05:00
diagnostics.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
documents.rs refactor: use DataUrl from deno_media_type (#27783) 2025-01-22 20:35:16 +00:00
jsr.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
language_server.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
logging.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
lsp_custom.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
mod.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
npm.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
parent_process_checker.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
path_to_regex.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
performance.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md docs: fix broken deno manual link (#20667) 2023-09-25 14:09:27 +02:00
refactor.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
registries.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
repl.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
resolver.rs refactor: make PackageJsonCache injectable (#27800) 2025-01-24 09:50:25 -05:00
search.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
semantic_tokens.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
text.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
tsc.rs perf(lsp): cache completion item resolution during request (#27831) 2025-01-26 22:40:53 +01:00
urls.rs refactor: use DataUrl from deno_media_type (#27783) 2025-01-22 20:35:16 +00:00

Deno Language Server

The Deno Language Server provides a server implementation of the Language Server Protocol which is specifically tailored to provide a Deno view of code. It is integrated into the command line and can be started via the lsp sub-command.

This documentation has been moved to the Deno manual.