jgouxJ
Denoβ€’17mo agoβ€’
1 reply
jgoux

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.
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...
feat: ES module snapshotting by crowlKats Β· Pull Request #17460 Β· d...
Was this page helpful?