Current benchmark data was generated on Tue Dec 31 2024, 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 |
---|---|---|---|---|---|---|---|
rust | 0.rs | 113ms | 1.2ms | 1.9MB | 100ms | 0ms | rustc 1.83.0 |
go | 0-ffi.go | 135ms | 2.4ms | 12.0MB | 130ms | 0ms | go 1.23.4 |
chapel | 1.chpl | 1147ms | 46ms | 33.1MB | 1137ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 1337ms | 7.5ms | 1.9MB | 1330ms | 0ms | rustc 1.83.0 |
typescript | 1.ts | 1814ms | 2.8ms | 61.3MB | 1817ms | 17ms | deno 2.1.4 |
javascript | 1.js | 2386ms | 6.1ms | 64.1MB | 2393ms | 10ms | node 23.5.0 |
javascript | 1.js | 2609ms | 9.9ms | 82.9MB | 2640ms | 33ms | bun 1.1.42 |
csharp | 1.cs | 2679ms | 13ms | 17.0MB | 2640ms | 30ms | dotnet/aot 9.0.101 |
csharp | 1.cs | 2791ms | 2.9ms | 39.3MB | 2860ms | 33ms | dotnet 9.0.101 |
kotlin | 1.kt | 2939ms | 35ms | 231.8MB | 3747ms | 60ms | kotlin/jvm 21 |
python | 1.py | 3007ms | 4.8ms | 8.3MB | 2997ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 3257ms | 26ms | 19.2MB | 3240ms | 0ms | wasmtime 28.0.0 |
python | 1.py | 3542ms | 41ms | 74.6MB | 3513ms | 13ms | pypy 3.10.14 |
python | 1.py | 3659ms | 51ms | 8.8MB | 3650ms | 0ms | cpython 3.13.1 |
d | 1.d | 4529ms | 4.4ms | 4.0MB | 4503ms | 303ms | ldc2 1.40.0 |
d | 1.d | timeout | 0.0ms | 6.6MB | 4983ms | 247ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0.rs | 31ms | 0.6ms | 1.8MB | 20ms | 0ms | rustc 1.83.0 |
go | 0-ffi.go | 43ms | 1.0ms | 9.5MB | 33ms | 0ms | go 1.23.4 |
chapel | 1.chpl | 297ms | 3.2ms | 33.0MB | 287ms | 3ms | chpl 1.31.0 |
rust | 1.rs | 345ms | 5.2ms | 1.9MB | 333ms | 0ms | rustc 1.83.0 |
typescript | 1.ts | 483ms | 4.2ms | 60.9MB | 483ms | 13ms | deno 2.1.4 |
javascript | 1.js | 628ms | 11ms | 61.7MB | 623ms | 17ms | node 23.5.0 |
javascript | 1.js | 681ms | 5.8ms | 82.5MB | 680ms | 27ms | bun 1.1.42 |
csharp | 1.cs | 685ms | 10.0ms | 16.7MB | 667ms | 7ms | dotnet/aot 9.0.101 |
python | 1.py | 765ms | 9.3ms | 8.3MB | 750ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 827ms | 11ms | 18.7MB | 810ms | 0ms | wasmtime 28.0.0 |
python | 1.py | 922ms | 10.0ms | 8.8MB | 913ms | 0ms | cpython 3.13.1 |
kotlin | 1-m.kt | 926ms | 27ms | 209.8MB | 1550ms | 43ms | kotlin/jvm 21 |
python | 1.py | 973ms | 12ms | 67.5MB | 947ms | 10ms | pypy 3.10.14 |
csharp | 1.cs | 1025ms | 53ms | 41.8MB | 1097ms | 20ms | dotnet 9.0.101 |
d | 1.d | 1140ms | 11ms | 4.0MB | 1110ms | 90ms | ldc2 1.40.0 |
d | 1.d | 1900ms | 9.8ms | 6.6MB | 1893ms | 83ms | dmd 2.109.1 |