Skip to content
Try Hanzo
Language: English (United States)

Cold start, by primitive

Benchmarks / Sandbox cold start

measured

A V8 context ready to execute JavaScript in 0.13 ms, the median of one pass, reproducible by one command.

Results
V8 context0.13 msmeasured here
node sandbox/sandbox.mjs

prints the table on this page — transcribed from bench/README.md, the pass of 2026-09-07

Results

an M-series laptop · the pass of 2026-09-07 · median of the pass

Results
primitivemeasured herewhat it can run
V8 context0.13 msJavaScript, sharing the heap

What this measures, and what it does not

Cold start is not throughput. This is the time to the first instruction, on an idle machine. It says nothing about what happens when a thousand sandboxes are asked for at once.

What is measured

The time from asking for a sandbox to having one that will execute code. A V8 context is a fresh global inside a V8 isolate that is already running: it is cheap because it shares that isolate’s heap. Timings are the median of the pass.

node sandbox/sandbox.mjs

Build on Hanzo Cloud