DenoDDeno
Powered by
jgouxJ
Denoβ€’2y 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
feat: ES module snapshotting by crowlKats Β· Pull Request #17460 Β· d...
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...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to build rusty_v8 with old v8 version?
RaefkoRRaefko / help
3y ago
serde_v8::from_v8 for BigInts unsupported through `deserialize_any`
zheilbronZzheilbron / help
3y ago
rusty_v8 - how to pass data from js/v8 into rust
WereiiWWereii / help
3y ago