Lab Head to head · runtime benchmark
Deno vs Node.js benchmark: Deno 2.9.8 against Node.js 26.13.1 on the same work
Deno 2.9.8 and Node.js 26.13.1, each the newest release of its newest line, measured on the same machine with the same work in one run, so both meet the same conditions.
- Last run Nov 26, 2026
- Compared Node.js 26.13.1 and Deno 2.9.8
- Setup one machine, the same work
- 6 of 6workloads with no clear differencea change counts at 10% or more, twice the spread
- 5.3%largest self-test differencethe same product twice in one run, none of them clear
Every workload, every version
Median of the rounds, ± the spread between them. Green and amber cells differ by 10% or more from the first value of a row with a clear change; the last column compares Deno 2.9.8 with Node.js 26.13.1.
| Workload | Node.js 26.13.1 | Deno 2.9.8 | Node.js 26.13.1 → Deno 2.9.8 |
|---|---|---|---|
| JSON parse and stringify, 20,000 objects | 37.9 ms ±1.4% | 38.7 ms ±3.3% | no clear difference |
| Regular expressions over 2.4 MB of text | 7.79 ms ±7.5% | 7.77 ms ±4.6% | no clear difference |
| SHA-256 of 32 MB | 14.2 ms ±8.8% | 14.2 ms ±7.9% | no clear difference |
| Sort 300,000 numbers | 91.5 ms ±0.8% | 87.3 ms ±2.7% | no clear difference |
| Map with 300,000 keys | 64.3 ms ±4.0% | 64.5 ms ±5.8% | no clear difference |
| String building and splitting | 33.2 ms ±15.3% | 33.1 ms ±11.7% | no clear difference |
Measured Nov 26, 2026 on our own machine. How we tested · Raw data (JSON)
More on Deno vs Node.js
How we tested
- ProcessorAMD Ryzen 7 7800X3D (8 cores, 16 threads)
- Memory32 GB RAM
- SystemWindows 11 Pro, Docker Desktop (WSL 2)
- ContainersDocker Engine 29.9.3
What we ran
- Node.js 26.13.1
node:26.13.1-slimsha256:e6bedef21767… - Deno 2.9.8
denoland/deno:2.9.8sha256:a0d88a7fcbd4…
Self-test Node.js 26.13.1 against Node.js 26.13.1 in two containers: the largest difference was 5.3%, none of them clear.
Method
- Median of 11 rounds after 1 warm-up round; the product that starts each round rotates
- Each is the newest release of its newest line on 2026-11-26, run as it ships, both in one run
- The same kernels: node-core.js for Node.js, deno-core.js for Deno (the same code as an ES module, node:crypto for SHA-256)
- Start-up is left out: each runtime starts its script's clock at another moment (Node.js at its process start, Deno just before a file runs), so it does not compare
- One process per round in each container: one warm-up call, then one timed call per workload
- Small single-threaded kernels; nothing is read from or written to disk
- The kernels of our Node.js test as an ES module (node:crypto, no global Buffer), run by deno run -; no permissions, nothing is read from or written to disk
Reproduce it
cat node-core.js | docker run --rm -i --network none --read-only --user 10001:10001 --tmpfs /tmp:exec node:26.13.1-slim node -
cat deno-core.js | docker run --rm -i --network none --read-only --user 10001:10001 --tmpfs /tmp:exec --tmpfs /home/check:exec,uid=10001 -e HOME=/home/check denoland/deno:2.9.8 deno run -
The script: https://thestacksentinel.com/lab/scripts/node-core.js.txt (save it as node-core.js)
The script: https://thestacksentinel.com/lab/scripts/deno-core.js.txt (save it as deno-core.js)Limits
- One machine: an 8-core desktop CPU under Windows 11 and WSL 2; a Linux server may behave differently.
- Small kernels, not an application: real services spend their time in I/O, frameworks and native modules.
Official pages on Node.js 26.13.1 and Deno 2.9.8
- github.com /nodejs/node/releases/tag/v26.13.1
- github.com /denoland/deno/releases/tag/v2.9.8