1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

perf(compile): Do not checksum eszip content (#23839)

Related: https://github.com/denoland/eszip/pull/181

eszip < v0.69.0 hashes all its contents to ensure data integrity. This
feature is not necessary in Deno CLI as the binary integrity guarantee
is deemed an external responsibility (ie it is to be assumed that, if
necessary, the compiled binary will be checksumed externally prior to
being executed).

eszip >= v0.69.0 no longer performs this checksum by default. This
reduces the cold-start time of the compiled binaries, proportionally to
their size.
This commit is contained in:
Arnau Orriols 2024-05-16 03:13:53 +02:00 committed by GitHub
parent 5385a42ec4
commit f6c6e768c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View file

@ -2504,9 +2504,9 @@ dependencies = [
[[package]]
name = "eszip"
version = "0.68.5"
version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd4261ccce6111115c5b536e7f76222a779d69a038bb4c13958575f12ffe5606"
checksum = "8f606daca1ce18c69ccdabc59aa1c7e077356b8ffcd74e12c7646f545320a2fd"
dependencies = [
"anyhow",
"base64",

View file

@ -77,7 +77,7 @@ deno_runtime = { workspace = true, features = ["include_js_files_for_snapshottin
deno_semver = "=0.5.4"
deno_task_shell = "=0.16.1"
deno_terminal.workspace = true
eszip = "=0.68.5"
eszip = "=0.69.0"
napi_sym.workspace = true
async-trait.workspace = true