Skip to content

Commit

Permalink
perf(compile): Do not checksum eszip content (#23839)
Browse files Browse the repository at this point in the history
Related: denoland/eszip#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.
  • Loading branch information
arnauorriols committed May 16, 2024
1 parent 5385a42 commit f6c6e76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6c6e76

Please sign in to comment.