mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
perf(jsr): fast check cache and lazy fast check graph (#22485)
This commit is contained in:
parent
dbc4a4d632
commit
f90889e5ee
25 changed files with 669 additions and 220 deletions
|
@ -127,7 +127,6 @@ impl ModuleLoadPreparer {
|
|||
graph_kind: graph.graph_kind(),
|
||||
roots: roots.clone(),
|
||||
loader: Some(&mut cache),
|
||||
workspace_fast_check: false,
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
|
@ -157,12 +156,13 @@ impl ModuleLoadPreparer {
|
|||
if self.options.type_check_mode().is_true()
|
||||
&& !self.graph_container.is_type_checked(&roots, lib)
|
||||
{
|
||||
let graph = Arc::new(graph.segment(&roots));
|
||||
let graph = graph.segment(&roots);
|
||||
self
|
||||
.type_checker
|
||||
.check(
|
||||
graph,
|
||||
check::CheckOptions {
|
||||
build_fast_check_graph: true,
|
||||
lib,
|
||||
log_ignored_options: false,
|
||||
reload: self.options.reload_flag()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue