Current benchmark data was generated on Sat Mar 29 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.4ms | 5.2MB | 83ms | 0ms | go 1.24.1 |
rust | 0.rs | 119ms | 2.9ms | 1.9MB | 110ms | 0ms | rustc 1.85.1 |
chapel | 1.chpl | 1185ms | 5.6ms | 29.1MB | 1177ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 1426ms | 5.0ms | 1.9MB | 1417ms | 0ms | rustc 1.85.1 |
typescript | 1.ts | 1939ms | 11ms | 59.6MB | 1937ms | 13ms | deno 2.2.6 |
javascript | 1.js | 2575ms | 11ms | 60.0MB | 2583ms | 23ms | node 23.10.0 |
javascript | 1.js | 2796ms | 8.4ms | 84.8MB | 2807ms | 60ms | bun 1.2.7 |
csharp | 1.cs | 2851ms | 10.0ms | 13.1MB | 2817ms | 20ms | dotnet/aot 9.0.202 |
csharp | 1.cs | 2967ms | 19ms | 35.6MB | 3027ms | 43ms | dotnet 9.0.202 |
kotlin | 1.kt | 3130ms | 52ms | 233.8MB | 4123ms | 70ms | kotlin/jvm 21 |
python | 1.py | 3200ms | 57ms | 8.3MB | 3193ms | 0ms | pyston 3.8.12 |
python | 1.py | 3539ms | 28ms | 74.3MB | 3503ms | 27ms | pypy 3.10.16 |
wasm | 1.rs | 3616ms | 7.7ms | 16.8MB | 3603ms | 0ms | wasmtime 31.0.0 |
python | 1.py | 3863ms | 72ms | 8.6MB | 3847ms | 0ms | cpython 3.13.2 |
d | 1.d | 4801ms | 21ms | 3.9MB | 4750ms | 373ms | ldc2 1.40.1 |
d | 1.d | timeout | 0.0ms | 6.6MB | 4963ms | 277ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 27ms | 1.3ms | 5.2MB | 20ms | 0ms | go 1.24.1 |
rust | 0.rs | 32ms | 2.2ms | 1.9MB | 23ms | 0ms | rustc 1.85.1 |
chapel | 1.chpl | 310ms | 4.0ms | 29.1MB | 303ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 366ms | 4.5ms | 1.9MB | 357ms | 0ms | rustc 1.85.1 |
typescript | 1.ts | 529ms | 2.5ms | 55.9MB | 533ms | 10ms | deno 2.2.6 |
javascript | 1.js | 677ms | 1.5ms | 57.1MB | 683ms | 13ms | node 23.10.0 |
csharp | 1.cs | 720ms | 4.3ms | 13.0MB | 700ms | 7ms | dotnet/aot 9.0.202 |
javascript | 1.js | 740ms | 6.0ms | 84.4MB | 740ms | 33ms | bun 1.2.7 |
python | 1.py | 808ms | 5.8ms | 8.3MB | 797ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 916ms | 7.5ms | 16.8MB | 900ms | 0ms | wasmtime 31.0.0 |
kotlin | 1-m.kt | 984ms | 32ms | 232.4MB | 1807ms | 57ms | kotlin/jvm 21 |
python | 1.py | 990ms | 9.8ms | 8.6MB | 980ms | 0ms | cpython 3.13.2 |
python | 1.py | 1000ms | 9.6ms | 67.3MB | 973ms | 17ms | pypy 3.10.16 |
csharp | 1.cs | 1005ms | 7.9ms | 35.8MB | 1087ms | 23ms | dotnet 9.0.202 |
d | 1.d | 1197ms | 5.4ms | 3.9MB | 1177ms | 90ms | ldc2 1.40.1 |
d | 1.d | 2091ms | 14ms | 6.6MB | 2057ms | 127ms | dmd 2.110.0 |