From configure 1 and configure 2 , it looks like V8 snapshot configuration is enabled by default. CI build log also shows that v8_use_snapshot
is set to true.
However, why I don't see native_blob.bin
and snapshot_blob.bin
in official distribution? Chrome and Electron have these binary files.
Node.js embeds the contents of those *_blob.bin
files directly into the binary. This is configured here (the comment there sounds like a misunderstanding of what the flag does, so I'm not sure whether this is intentional, but either way it probably doesn't hurt).