4 ms·
> You also cannot pre-initialize v8 as far as I know You can create a snapshot/image with V8 to reduce startup times (https://v8.dev/blog/custom-startup-snapsh
by matthews2 4y ago
> You also cannot pre-initialize v8 as far as I know
You can create a snapshot/image with V8 to reduce startup times (https://v8.dev/blog/custom-startup-snapshots https://v8.dev/blog/custom-startup-snapshots).
Node already does this for some of its core libraries (https://github.com/nodejs/node/issues/17058 https://github.com/nodejs/node/issues/17058). There are plans to expose this functionality to users so that any application and libraries can be snapshotted (https://github.com/nodejs/node/issues/35711 https://github.com/nodejs/node/issues/35711).