Node.js · Senior · Question 57 of 75
What is snapshot startup (--build-snapshot) useful for?
- 1Taking screenshots of a web page
- 2Backing up the database
- ✓Correct answer: Speeding up startup by restoring a prebuilt V8 heap with code already initialized
Explanation
It's mainly for CLIs and short-lived processes where startup time dominates, and works together with SEA.