Files
node/tools
Joyee Cheung 03db415540 build: disable v8 snapshot compression by default
In the upstream, V8 also disables snapshot compression on the
desktop by default because the size reduction is not worth the
performance hit.
https://chromium-review.googlesource.com/c/v8/v8/+/3275554

Locally the binary size of Node.js is increased by ~2.7MB
(+3.2%) with a significant speedup in startup after snapshot
compression is disabled on macOS.

Also adds a --v8-enable-snapshot-compression to configure.py for
users who prefer a size reduction over speedup in startup.
Ideally we should implement our own compression for the source
code + the code cache + the snapshot instead of relying on V8's
builtin compression for just the snapshot.

PR-URL: https://github.com/nodejs/node/pull/45716
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
2022-12-13 09:42:45 +00:00
..
2022-09-14 07:55:11 +00:00
2022-11-24 11:46:24 -05:00
2022-11-10 09:42:59 -03:00
…
2022-11-21 15:20:42 -05:00
2020-12-16 23:45:26 +01:00
2022-06-17 08:48:18 +01:00
2022-04-14 23:08:55 +01:00
2021-08-25 07:55:32 -07:00
…
2022-05-02 13:15:50 +01:00