diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-11-11 09:01:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-11 17:01:48 +0000 |
commit | 9f4a45561f4a01019cdbff86e2056de0296e791b (patch) | |
tree | a9c2c4b1664d6f4640115345882ae068c1a5a216 /cli/standalone/mod.rs | |
parent | 56e76242f3d7082e412bc698ebc737d24910cb60 (diff) |
perf: snapshot runtime ops (#21127)
Closes https://github.com/denoland/deno/issues/21135
~1ms startup time improvement
---------
Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Diffstat (limited to 'cli/standalone/mod.rs')
-rw-r--r-- | cli/standalone/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs index 56281b34b..56d4b1974 100644 --- a/cli/standalone/mod.rs +++ b/cli/standalone/mod.rs @@ -462,6 +462,7 @@ pub async fn run( strace_ops: None, is_inspecting: false, is_npm_main: main_module.scheme() == "npm", + skip_op_registration: true, location: metadata.location, maybe_binary_npm_command_name: NpmPackageReqReference::from_specifier( main_module, |