Current benchmark data was generated on Tue Mar 25 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 | 91ms | 1.2ms | 7.3MB | 83ms | 0ms | go 1.24.1 |
rust | 0.rs | 118ms | 1.9ms | 1.8MB | 110ms | 0ms | rustc 1.85.1 |
chapel | 1.chpl | 1181ms | 3.6ms | 29.2MB | 1177ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 1427ms | 6.3ms | 1.9MB | 1417ms | 0ms | rustc 1.85.1 |
typescript | 1.ts | 1941ms | 5.4ms | 59.1MB | 1943ms | 13ms | deno 2.2.5 |
javascript | 1.js | 2652ms | 192ms | 60.1MB | 2667ms | 17ms | node 23.10.0 |
javascript | 1.js | 2813ms | 1.1ms | 84.6MB | 2820ms | 60ms | bun 1.2.6 |
csharp | 1.cs | 2855ms | 23ms | 13.0MB | 2817ms | 27ms | dotnet/aot 9.0.202 |
csharp | 1.cs | 2964ms | 16ms | 35.3MB | 3037ms | 40ms | dotnet 9.0.202 |
kotlin | 1.kt | 3098ms | 21ms | 233.4MB | 3973ms | 77ms | kotlin/jvm 21 |
python | 1.py | 3166ms | 15ms | 8.3MB | 3153ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 3547ms | 5.6ms | 16.9MB | 3533ms | 0ms | wasmtime 31.0.0 |
python | 1.py | 3558ms | 6.3ms | 74.3MB | 3520ms | 20ms | pypy 3.10.16 |
python | 1.py | 3834ms | 38ms | 8.6MB | 3823ms | 0ms | cpython 3.13.2 |
d | 1.d | 4803ms | 10ms | 3.9MB | 4777ms | 350ms | ldc2 1.40.1 |
d | 1.d | timeout | 0.0ms | 6.6MB | 4983ms | 267ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 25ms | 0.5ms | 5.2MB | 20ms | 0ms | go 1.24.1 |
rust | 0.rs | 32ms | 1.6ms | 1.8MB | 23ms | 0ms | rustc 1.85.1 |
chapel | 1.chpl | 308ms | 2.9ms | 29.0MB | 303ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 358ms | 0.7ms | 1.9MB | 350ms | 0ms | rustc 1.85.1 |
typescript | 1.ts | 529ms | 2.9ms | 57.6MB | 530ms | 13ms | deno 2.2.5 |
javascript | 1.js | 674ms | 3.3ms | 57.0MB | 683ms | 17ms | node 23.10.0 |
csharp | 1.cs | 723ms | 0.6ms | 13.1MB | 700ms | 10ms | dotnet/aot 9.0.202 |
javascript | 1.js | 742ms | 8.0ms | 84.3MB | 747ms | 33ms | bun 1.2.6 |
python | 1.py | 806ms | 3.4ms | 8.3MB | 793ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 896ms | 1.8ms | 17.3MB | 880ms | 0ms | wasmtime 31.0.0 |
python | 1.py | 971ms | 7.2ms | 8.6MB | 960ms | 0ms | cpython 3.13.2 |
python | 1.py | 996ms | 9.3ms | 67.4MB | 967ms | 13ms | pypy 3.10.16 |
csharp | 1.cs | 1007ms | 8.8ms | 35.4MB | 1100ms | 20ms | dotnet 9.0.202 |
kotlin | 1-m.kt | 1009ms | 48ms | 235.5MB | 1923ms | 73ms | kotlin/jvm 21 |
d | 1.d | 1210ms | 2.5ms | 3.9MB | 1190ms | 93ms | ldc2 1.40.1 |
d | 1.d | 2045ms | 6.8ms | 6.5MB | 2017ms | 117ms | dmd 2.110.0 |