perf: linter lsp memory leak fix and deno_graph executor (#22519)

Updates dependent crates which includes an investigation fix by @irbull
in Deno's LSP when linting code. Huge thanks to Ian for tracking down
this issue.

Also includes Divy's deno_graph executor change, which reduces memory
usage when loading jsr specifiers and makes them faster.

Co-authored-by: irbull <irbull@users.noreply.github.com>
Co-authored-by: littledivy <littledivy@users.noreply.github.com>
This commit is contained in:
David Sherret 2024-02-21 16:58:37 -05:00 committed by GitHub
parent 76ebf567e2
commit 190776f30d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 46 additions and 40 deletions

View file

@ -463,6 +463,7 @@ impl ModuleGraphBuilder {
deno_graph::BuildOptions {
is_dynamic: options.is_dynamic,
jsr_url_provider: Some(&CliJsrUrlProvider),
executor: Default::default(),
imports: maybe_imports,
resolver: Some(graph_resolver),
file_system: Some(&DenoGraphFsAdapter(self.fs.as_ref())),