Userland V8 snapshots
Hello Deno community
,
Is there any way to take a v8 snapshot of a script using Deno (similar to node's --build-snapshot).
I'm interested in using deno for this because of this PR: https://github.com/denoland/deno/pull/17460
Node.js snapshots doesn't support ES modules.
My goal is to speed up my script startup time which makes heavy operations during its initialization.
Is there any way to take a v8 snapshot of a script using Deno (similar to node's --build-snapshot).
I'm interested in using deno for this because of this PR: https://github.com/denoland/deno/pull/17460
Node.js snapshots doesn't support ES modules.
My goal is to speed up my script startup time which makes heavy operations during its initialization.
GitHub
This commit adds support for snapshotting ES modules. This is done by
adding an ability to serialize and deserialize a "ModuleMap" and attach it
to the snapshot, using "a...
adding an ability to serialize and deserialize a "ModuleMap" and attach it
to the snapshot, using "a...
