diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-24 15:48:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 19:48:48 +0000 |
commit | eedf243b5ea98d22649bb0445444719a2fc12c59 (patch) | |
tree | 8f31d76e6223c195afb848f42d1ec7b9115bc7e1 /cli/factory.rs | |
parent | ea641897c92e3975dd102b31c1419720df358d12 (diff) |
perf(compile): pass module source data from binary directly to v8 (#26494)
This changes denort to pass a static reference of the moude source bytes found in the binary to v8 instead of copying it.
Diffstat (limited to 'cli/factory.rs')
-rw-r--r-- | cli/factory.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/factory.rs b/cli/factory.rs index 25f355110..d5ef4fd8b 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -762,6 +762,7 @@ impl CliFactory { let cli_options = self.cli_options()?; Ok(DenoCompileBinaryWriter::new( self.deno_dir()?, + self.emitter()?, self.file_fetcher()?, self.http_client_provider(), self.npm_resolver().await?.as_ref(), |