Results for 38 of 40 languages from this run on actest1.

Unavailable in this run: Hack, Lisp. Follow the run link for failure details.

Wren VS Javascript benchmarks

Current benchmark data was generated on Sun Sep 27 2026, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (Model 58)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

binarytrees

Input: 18

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 1-m.js 1265ms 52ms 166.7MB 1970ms 113ms bun 1.4.2
javascript 1.js 1464ms 5.7ms 446.7MB 1510ms 173ms node 24.21.0
wren 1.wren 18359ms 175ms 122.3MB 18307ms 37ms wren 0.4.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 1.js 127ms 3.1ms 40.8MB 153ms 17ms bun 1.4.2
javascript 1.js 192ms 4.0ms 81.8MB 210ms 23ms node 24.21.0
wren 1.wren 1601ms 19ms 122.2MB 1547ms 37ms wren 0.4.0

coro-prime-sieve

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wren 1.wren 604ms 4.3ms 4.7MB 590ms 0ms wren 0.4.0
javascript 1.js 2468ms 28ms 43.1MB 2477ms 43ms bun 1.4.2
javascript 1.js 2691ms 14ms 190.8MB 2690ms 103ms node 24.21.0

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wren 1.wren 45ms 1.6ms 3.2MB 37ms 0ms wren 0.4.0
javascript 1.js 154ms 0.2ms 34.1MB 153ms 0ms bun 1.4.2
javascript 1.js 263ms 13ms 74.4MB 257ms 27ms node 24.21.0

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
wren 1.wren 3.2ms 1.0ms 2.4MB 0ms 0ms wren 0.4.0
javascript 1.js 6.7ms 1.0ms 12.5MB 0ms 0ms bun 1.4.2
javascript 1.js 53ms 4.8ms 50.0MB 36ms 6ms node 24.21.0

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 6.js 924ms 3.8ms 59.5MB 910ms 10ms node 24.21.0
javascript 6.js 998ms 6.5ms 26.8MB 1007ms 0ms bun 1.4.2
wren 1.wren 80930ms 4424ms 135.7MB 80847ms 60ms wren 0.4.0

Input: 500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 6.js 125ms 8.5ms 26.6MB 140ms 0ms bun 1.4.2
javascript 6.js 149ms 6.1ms 59.5MB 140ms 10ms node 24.21.0
wren 1.wren 7840ms 216ms 135.6MB 7780ms 43ms wren 0.4.0

spectral-norm

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 6-m.js 6665ms 47ms 123.2MB 25650ms 83ms node 24.21.0
wren 1.wren timeout (300s) — — — — wren 0.4.0

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 6-m.js 1827ms 2.8ms 123.8MB 6790ms 70ms node 24.21.0
wren 1.wren timeout (120s) — — — — wren 0.4.0

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 6-m.js 639ms 8.0ms 119.1MB 2130ms 73ms node 24.21.0
wren 1.wren 44500ms 547ms 7.7MB 44483ms 0ms wren 0.4.0