mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
perf: v8 code cache (#23081)
This PR enables V8 code cache for ES modules and for `require` scripts through `op_eval_context`. Code cache artifacts are transparently stored and fetched using sqlite db and are passed to V8. `--no-code-cache` can be used to disable. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
9acbf90b06
commit
b3d7df5535
31 changed files with 889 additions and 76 deletions
|
@ -21,7 +21,7 @@ use crate::args::package_json::get_local_package_json_version_reqs;
|
|||
use crate::args::NpmProcessState;
|
||||
use crate::args::NpmProcessStateKind;
|
||||
use crate::util::fs::canonicalize_path_maybe_not_exists_with_fs;
|
||||
use crate::util::path::specifier_to_file_path;
|
||||
use deno_runtime::fs_util::specifier_to_file_path;
|
||||
|
||||
use super::common::types_package_name;
|
||||
use super::CliNpmResolver;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue