summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-07-10 13:42:47 -0400
committerGitHub <noreply@github.com>2023-07-10 13:42:47 -0400
commit629d09b149ab42cc4c3cebc41e0f23112ace891c (patch)
tree5bcde27002aeb3f86ac99a3ad79d1e59a1901260 /Cargo.lock
parentfe91cd5b84f3dfb3c1d375cd2eb98792b869b675 (diff)
perf: add setup cache for node_modules folder (#19787)
Part of #19774. This makes it twice as fast on my machine. Stores a file at `node_modules/.deno/setup-cache.bin`, which contains information about how the node_modules folder is currently setup. Obviously there is a risk that this information will get out of date with the current folder structure.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index d05bf423a..0cf8d56b9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -373,6 +373,15 @@ dependencies = [
]
[[package]]
+name = "bincode"
+version = "1.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
+dependencies = [
+ "serde",
+]
+
+[[package]]
name = "bit-set"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -779,6 +788,7 @@ dependencies = [
"atty",
"base32",
"base64 0.13.1",
+ "bincode",
"cache_control",
"chrono",
"clap",