0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 07:16:56 -05:00
denoland-deno/cli/lsp
Bartek Iwańczuk 244bf5c2be
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-30 15:34:55 +01:00
..
testing refactor: create deno_lib crate (#27673) 2025-01-16 23:32:12 +01:00
analysis.rs refactor: move CliNpmResolver to deno_resolver::npm::NpmResolver (#27659) 2025-01-16 23:32:11 +01:00
cache.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-30 15:34:53 +01:00
capabilities.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
client.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
code_lens.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
completions.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
config.rs refactor: make PackageJsonCache injectable (#27800) 2025-01-30 15:34:54 +01:00
diagnostics.rs refactor: move denort to separate crate (#27688) 2025-01-22 00:24:19 +01:00
documents.rs refactor: use DataUrl from deno_media_type (#27783) 2025-01-30 15:34:52 +01:00
jsr.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
language_server.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-30 15:34:53 +01:00
logging.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
lsp_custom.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
mod.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
npm.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-30 15:34:53 +01:00
parent_process_checker.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
path_to_regex.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
performance.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05: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) 2025-01-09 15:19:16 -05:00
registries.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
repl.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
resolver.rs refactor: make PackageJsonCache injectable (#27800) 2025-01-30 15:34:54 +01:00
search.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
semantic_tokens.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
text.rs refactor: update deno_core for error refactor (#26867) 2025-01-09 15:19:21 -05:00
tsc.rs perf(lsp): cache completion item resolution during request (#27831) 2025-01-30 15:34:55 +01:00
urls.rs refactor: use DataUrl from deno_media_type (#27783) 2025-01-30 15:34:52 +01: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.