1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 10:07:54 -05:00
denoland-deno/cli/cache
David Sherret dd4570ed85
perf(compile): code cache (#26528)
Adds a lazily created code cache to `deno compile` by default.

The code cache is created on first run to a single file in the temp
directory and is only written once. After it's been written, the code
cache becomes read only on subsequent runs. Only the modules loaded
during startup are cached (dynamic imports are not code cached).

The code cache can be disabled by compiling with `--no-code-cache`.
2024-11-18 20:09:28 +00:00
..
cache_db.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
caches.rs refactor: version module exports a single const struct (#25014) 2024-08-15 23:47:16 +02:00
check.rs fix: bump cache sqlite dbs to v2 for WAL journal mode change (#24030) 2024-05-29 18:38:18 +00:00
code_cache.rs perf(compile): code cache (#26528) 2024-11-18 20:09:28 +00:00
common.rs refactor: version module exports a single const struct (#25014) 2024-08-15 23:47:16 +02:00
deno_dir.rs BREAKING: rename "deps" remote cache folder to "remote" (#25969) 2024-10-01 14:05:40 -04:00
disk_cache.rs fix: make writing to the deps cache more reliable (#24135) 2024-06-07 13:06:17 -04:00
emit.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
fast_check.rs fix: bump cache sqlite dbs to v2 for WAL journal mode change (#24030) 2024-05-29 18:38:18 +00:00
incremental.rs fix: bump cache sqlite dbs to v2 for WAL journal mode change (#24030) 2024-05-29 18:38:18 +00:00
mod.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
module_info.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
node.rs fix: bump cache sqlite dbs to v2 for WAL journal mode change (#24030) 2024-05-29 18:38:18 +00:00
parsed_source.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00