Current benchmark data was generated on Sun Dec 01 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 | 118ms | 1.7ms | 1.8MB | 107ms | 0ms | rustc 1.83.0 |
go | 0-ffi.go | 141ms | 1.8ms | 13.5MB | 130ms | 3ms | go 1.23.3 |
chapel | 1.chpl | 1235ms | 79ms | 33.1MB | 1227ms | 3ms | chpl 1.31.0 |
rust | 1.rs | 1413ms | 13ms | 2.0MB | 1397ms | 0ms | rustc 1.83.0 |
typescript | 1.ts | 1938ms | 1.3ms | 60.5MB | 1947ms | 10ms | deno 2.1.2 |
javascript | 1.js | 2575ms | 12ms | 63.5MB | 2577ms | 20ms | node 23.3.0 |
javascript | 1.js | 2795ms | 11ms | 84.3MB | 2807ms | 53ms | bun 1.1.38 |
csharp | 1.cs | 2838ms | 4.6ms | 17.0MB | 2797ms | 30ms | dotnet/aot 9.0.100 |
csharp | 1.cs | 2989ms | 14ms | 39.4MB | 3057ms | 47ms | dotnet 9.0.100 |
kotlin | 1.kt | 3074ms | 58ms | 231.7MB | 3977ms | 60ms | kotlin/jvm 21 |
wasm | 1.rs | 3108ms | 21ms | 37.1MB | 3093ms | 3ms | wasmer/llvm 5.0.2 |
python | 1.py | 3142ms | 2.3ms | 8.3MB | 3133ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 3496ms | 1.3ms | 20.6MB | 3480ms | 0ms | wasmtime 27.0.0 |
python | 1.py | 3709ms | 13ms | 74.6MB | 3663ms | 30ms | pypy 3.10.14 |
python | 1.py | 3866ms | 69ms | 8.8MB | 3857ms | 0ms | cpython 3.13.0 |
d | 1.d | 4776ms | 13ms | 4.0MB | 4740ms | 333ms | ldc2 1.39.0 |
d | 1.d | timeout | 0.0ms | 6.4MB | 4997ms | 250ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0.rs | 32ms | 1.6ms | 1.9MB | 23ms | 0ms | rustc 1.83.0 |
go | 0-ffi.go | 47ms | 0.4ms | 12.0MB | 37ms | 0ms | go 1.23.3 |
chapel | 1.chpl | 313ms | 1.6ms | 33.1MB | 300ms | 7ms | chpl 1.31.0 |
rust | 1.rs | 355ms | 3.7ms | 1.9MB | 343ms | 0ms | rustc 1.83.0 |
typescript | 1.ts | 522ms | 1.1ms | 60.2MB | 527ms | 10ms | deno 2.1.2 |
javascript | 1.js | 681ms | 4.2ms | 61.0MB | 683ms | 13ms | node 23.3.0 |
csharp | 1.cs | 720ms | 3.0ms | 17.0MB | 697ms | 13ms | dotnet/aot 9.0.100 |
javascript | 1.js | 738ms | 1.4ms | 83.5MB | 747ms | 23ms | bun 1.1.38 |
wasm | 1.rs | 787ms | 3.0ms | 39.0MB | 773ms | 3ms | wasmer/llvm 5.0.2 |
python | 1.py | 799ms | 3.3ms | 8.3MB | 783ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 887ms | 3.6ms | 20.7MB | 877ms | 0ms | wasmtime 27.0.0 |
python | 1.py | 976ms | 18ms | 8.8MB | 960ms | 0ms | cpython 3.13.0 |
csharp | 1.cs | 987ms | 1.3ms | 41.1MB | 1080ms | 20ms | dotnet 9.0.100 |
kotlin | 1-m.kt | 1039ms | 9.3ms | 232.3MB | 1953ms | 67ms | kotlin/jvm 21 |
python | 1.py | 1043ms | 10ms | 67.5MB | 1003ms | 17ms | pypy 3.10.14 |
d | 1.d | 1207ms | 11ms | 3.9MB | 1193ms | 83ms | ldc2 1.39.0 |
d | 1.d | 2052ms | 57ms | 6.6MB | 2020ms | 140ms | dmd 2.109.1 |