A Node.js alternative with low memory use
Peak memory measured against Node and Bun, including the tests where Quench uses more.
Quench is a JavaScript and TypeScript runtime with Node-compatible APIs, written in Rust. With JIT off, its geometric-mean peak memory on 56 JetStream 3 tests is 28.5 MB, against 110.1 MB for Node --jitless and 47.7 MB for Bun: 26% of Node's and 60% of Bun's. It has the lowest peak memory of the three on 51 of the 56 tests. It is early and has no packaged releases.
Quench vs Node.js, Bun and Deno
| Quench | Node.js | Bun | Deno | |
|---|---|---|---|---|
| Written in | Rust (engine and runtime) | C++ (V8) and JavaScript | Zig, C++ (JavaScriptCore) | Rust runtime, C++ engine (V8) |
| V8-v7 score, JIT off, geomean of 8 | 4,980 | 2,349 | 1,979 | not measured |
| V8-v7 peak memory, JIT off, geomean | 11.4 MB | 65.4 MB | 26.8 MB | not measured |
| JetStream 3 score, JIT off, 56 tests | 34.3 | 39.7 | 32.2 | not measured |
| JetStream 3 peak memory, JIT off | 28.5 MB | 110.1 MB | 47.7 MB | not measured |
| Test262 | 53,353 passing, 0 failing, 53 waived | not measured | not measured | not measured |
| JIT performance | JIT tiers not yet competitive | mature JIT | mature JIT | mature JIT (V8) |
| Packaged releases | no, build from source | yes | yes | yes |
Benchmark rows: interpreter only in every engine (quench --no-jit, node --jitless, Bun with BUN_JSC_useJIT=0), one 4-core Linux machine. V8-v7 measured 14 November 2026, JetStream 3 on 17 November 2026. Bold marks the best measured value. Deno has not been measured; we do not publish numbers we have not run. Full tables and method.
Peak memory per V8-v7 benchmark (JIT off, 14 November 2026)
| Benchmark | Quench | Node --jitless | Bun JIT off |
|---|---|---|---|
| richards | 6.4 MB | 43.5 MB | 15.9 MB |
| deltablue | 6.9 MB | 45.4 MB | 24.5 MB |
| crypto | 8.2 MB | 43.6 MB | 25.4 MB |
| raytrace | 7.1 MB | 50.1 MB | 25.8 MB |
| earley-boyer | 15.8 MB | 74.2 MB | 28.7 MB |
| regexp | 16.2 MB | 64.5 MB | 32.6 MB |
| splay | 58.7 MB | 326.0 MB | 54.9 MB |
| navier-stokes | 7.6 MB | 49.9 MB | 20.2 MB |
Where Quench uses more memory
On V8-v7 splay Quench peaks at 58.7 MB against Bun's 54.9 MB. On large startup workloads it can use much more: babylonjs-startup-es6 peaks at 562 MB against Bun's 339 MB, because programs from earlier iterations stay reachable and an idle function costs about 2.8 KB. Inside the 56 compared JetStream 3 tests, Quench is above the lowest engine on Sunspider, mandreel, the two doxbee tests and babylonjs-scene. Making function bodies lazy is the current fix.
Why it is small
One 64-bit word per value, compact object layouts, a register-bytecode interpreter, and compiling a function body only on its first call.
Try it
git clone https://github.com/butaji/quench
cd quench
cargo build --release -p quench # interpreter + JIT tiers
cargo build --release -p quench --features aot # adds the AOT compiler
./target/release/quench app.tsQuestions
What is a Node.js alternative with low memory use?
Quench is a JavaScript, TypeScript and WebAssembly runtime with Node-compatible APIs, written in Rust. With JIT off, its geometric-mean peak memory on JetStream 3 is 28.5 MB, against 110.1 MB for Node --jitless and 47.7 MB for Bun (17 November 2026).
How much memory does Quench use for a small program?
On V8-v7 with JIT off, richards peaks at 6.4 MB, deltablue at 6.9 MB and raytrace at 7.1 MB, where Node --jitless needs 43.5 to 50.1 MB (14 November 2026).
Can Quench replace Node.js today?
Not for production yet. Quench has no packaged releases and its Node API compatibility is still being built out, so expect gaps.
About Quench
Quench is a JavaScript, TypeScript and WebAssembly runtime written in Rust. Test262: 53,353 passing, 0 failing. Interpreter, two JITs, and AOT to native executables. It is MIT licensed, early, and built from source with Cargo. Source: github.com/butaji/quench. Machine-readable summary: llms.txt.
Related: benchmarks · JavaScript runtime in Rust · low-memory Node.js alternative · compile JavaScript to a native executable · Test262 conformance · JavaScript for AI agents