Disable snapshot compression on all platforms (#865)

It turns out that the embedder can selectively compress snapshots,
resulting in better startup performance and a smaller binary size.

See https://github.com/denoland/deno/pull/13320.
This commit is contained in:
Bert Belder 2022-01-10 09:48:58 -08:00 committed by GitHub
parent 1cedb0eb21
commit 3315ccd4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
.gn
View File

@ -35,7 +35,7 @@ default_args = {
# https://cs.chromium.org/chromium/src/docs/ccache_mac.md
clang_use_chrome_plugins = false
v8_monolithic = false
v8_enable_snapshot_compression = true
v8_enable_snapshot_compression = false
v8_use_external_startup_data = false
v8_use_snapshot = true
is_component_build = false