Current benchmark data was generated on Wed Jan 22 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 |
---|---|---|---|---|---|---|---|
rust | 0.rs | 118ms | 3.3ms | 1.8MB | 110ms | 0ms | rustc 1.84.0 |
go | 0-ffi.go | 140ms | 0.4ms | 12.6MB | 133ms | 0ms | go 1.23.5 |
chapel | 1.chpl | 1187ms | 3.1ms | 33.1MB | 1177ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 1408ms | 7.3ms | 1.9MB | 1397ms | 0ms | rustc 1.84.0 |
typescript | 1.ts | 1897ms | 5.8ms | 59.4MB | 1900ms | 13ms | deno 2.1.7 |
javascript | 1.js | 2555ms | 27ms | 63.2MB | 2557ms | 17ms | node 23.6.0 |
javascript | 1.js | 2692ms | 12ms | 84.3MB | 2700ms | 53ms | bun 1.1.45 |
csharp | 1.cs | 2807ms | 10ms | 17.1MB | 2760ms | 40ms | dotnet/aot 9.0.102 |
csharp | 1.cs | 2940ms | 11ms | 39.4MB | 2987ms | 57ms | dotnet 9.0.102 |
kotlin | 1.kt | 3090ms | 36ms | 231.3MB | 3953ms | 63ms | kotlin/jvm 21 |
python | 1.py | 3144ms | 17ms | 8.4MB | 3130ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 3552ms | 38ms | 18.9MB | 3533ms | 3ms | wasmtime 29.0.1 |
python | 1.py | 3691ms | 14ms | 74.6MB | 3657ms | 17ms | pypy 3.10.14 |
python | 1.py | 3791ms | 31ms | 8.8MB | 3773ms | 0ms | cpython 3.13.1 |
d | 1.d | 4766ms | 8.8ms | 4.0MB | 4717ms | 353ms | ldc2 1.40.0 |
d | 1.d | timeout | 0.0ms | 6.6MB | 4967ms | 257ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0.rs | 31ms | 0.2ms | 1.8MB | 20ms | 0ms | rustc 1.84.0 |
go | 0-ffi.go | 46ms | 0.6ms | 12.0MB | 33ms | 0ms | go 1.23.5 |
chapel | 1.chpl | 318ms | 2.7ms | 33.1MB | 307ms | 3ms | chpl 1.31.0 |
rust | 1.rs | 356ms | 4.9ms | 1.9MB | 343ms | 0ms | rustc 1.84.0 |
typescript | 1.ts | 516ms | 8.5ms | 59.1MB | 510ms | 20ms | deno 2.1.7 |
javascript | 1.js | 675ms | 1.8ms | 61.9MB | 673ms | 20ms | node 23.6.0 |
javascript | 1.js | 710ms | 3.9ms | 83.8MB | 703ms | 33ms | bun 1.1.45 |
csharp | 1.cs | 718ms | 12ms | 15.0MB | 697ms | 3ms | dotnet/aot 9.0.102 |
python | 1.py | 803ms | 5.5ms | 8.3MB | 787ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 892ms | 4.5ms | 19.6MB | 873ms | 3ms | wasmtime 29.0.1 |
kotlin | 1-m.kt | 950ms | 29ms | 231.2MB | 1920ms | 57ms | kotlin/jvm 21 |
python | 1.py | 972ms | 12ms | 8.8MB | 957ms | 0ms | cpython 3.13.1 |
csharp | 1.cs | 999ms | 20ms | 40.3MB | 1080ms | 20ms | dotnet 9.0.102 |
python | 1.py | 1037ms | 13ms | 67.6MB | 1010ms | 13ms | pypy 3.10.14 |
d | 1.d | 1214ms | 17ms | 4.0MB | 1190ms | 113ms | ldc2 1.40.0 |
d | 1.d | 2028ms | 15ms | 6.6MB | 2030ms | 83ms | dmd 2.109.1 |