Current benchmark data was generated on Sun Jun 01 2025, full log can be found HERE
CONTRIBUTIONS are WELCOME!
* -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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 92ms | 0.1ms | 5.2MB | 90ms | 0ms | go 1.24.3 |
rust | 0.rs | 117ms | 3.1ms | 1.9MB | 110ms | 0ms | rustc 1.87.0 |
chapel | 1.chpl | 1181ms | 6.5ms | 29.1MB | 1177ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 1422ms | 8.7ms | 1.9MB | 1410ms | 0ms | rustc 1.87.0 |
typescript | 1.ts | 1938ms | 6.9ms | 59.6MB | 1943ms | 13ms | deno 2.3.5 |
javascript | 1.js | 2575ms | 7.6ms | 62.2MB | 2580ms | 13ms | node 24.1.0 |
javascript | 1.js | 2822ms | 6.0ms | 82.3MB | 2837ms | 43ms | bun 1.2.15 |
csharp | 1.cs | 2830ms | 23ms | 13.1MB | 2797ms | 20ms | dotnet/aot 9.0.300 |
csharp | 1.cs | 2943ms | 2.6ms | 35.1MB | 3013ms | 37ms | dotnet 9.0.300 |
kotlin | 1.kt | 3058ms | 62ms | 231.8MB | 4043ms | 70ms | kotlin/jvm 21 |
python | 1.py | 3163ms | 11ms | 8.4MB | 3150ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 3519ms | 16ms | 17.8MB | 3510ms | 0ms | wasmtime 33.0.0 |
python | 1.py | 3521ms | 3.2ms | 74.6MB | 3487ms | 20ms | pypy 3.10.16 |
python | 1.py | 3837ms | 22ms | 8.8MB | 3827ms | 0ms | cpython 3.13.3 |
d | 1.d | 4793ms | 19ms | 4.1MB | 4750ms | 383ms | ldc2 1.40.1 |
d | 1.d | timeout | 0.0ms | 6.5MB | 4950ms | 307ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 25ms | 0.6ms | 5.2MB | 20ms | 0ms | go 1.24.3 |
rust | 0.rs | 32ms | 1.3ms | 1.8MB | 23ms | 0ms | rustc 1.87.0 |
chapel | 1.chpl | 307ms | 4.2ms | 29.1MB | 303ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 359ms | 1.5ms | 1.9MB | 350ms | 0ms | rustc 1.87.0 |
typescript | 1.ts | 528ms | 3.9ms | 58.9MB | 530ms | 10ms | deno 2.3.5 |
javascript | 1.js | 686ms | 6.9ms | 58.8MB | 690ms | 10ms | node 24.1.0 |
csharp | 1.cs | 719ms | 1.5ms | 12.9MB | 697ms | 10ms | dotnet/aot 9.0.300 |
javascript | 1.js | 736ms | 1.2ms | 82.1MB | 730ms | 33ms | bun 1.2.15 |
python | 1.py | 804ms | 7.4ms | 8.3MB | 793ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 883ms | 5.2ms | 17.8MB | 870ms | 0ms | wasmtime 33.0.0 |
kotlin | 1-m.kt | 964ms | 26ms | 231.0MB | 1823ms | 60ms | kotlin/jvm 21 |
python | 1.py | 970ms | 5.5ms | 8.9MB | 960ms | 0ms | cpython 3.13.3 |
python | 1.py | 988ms | 1.4ms | 67.4MB | 960ms | 13ms | pypy 3.10.16 |
csharp | 1.cs | 997ms | 9.0ms | 35.1MB | 1083ms | 23ms | dotnet 9.0.300 |
d | 1.d | 1199ms | 4.8ms | 3.9MB | 1180ms | 97ms | ldc2 1.40.1 |
d | 1.d | 2045ms | 6.0ms | 6.9MB | 2027ms | 113ms | dmd 2.111.0 |