Current benchmark data was generated on Thu Feb 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 | 120ms | 1.3ms | 1.9MB | 110ms | 0ms | rustc 1.75.0 |
go | 0-ffi.go | 141ms | 1.0ms | 12.2MB | 137ms | 3ms | go 1.21.6 |
chapel | 1.chpl | 1183ms | 3.7ms | 33.0MB | 1170ms | 3ms | chpl 1.31.0 |
rust | 1.rs | 1422ms | 3.5ms | 1.9MB | 1410ms | 0ms | rustc 1.75.0 |
typescript | 1.ts | 1958ms | 9.9ms | 60.2MB | 1957ms | 13ms | deno 1.40.2 |
javascript | 1.js | 2219ms | 17ms | 112.5MB | 2240ms | 30ms | bun 1.0.25 |
javascript | 1.js | 2467ms | 16ms | 52.9MB | 2470ms | 10ms | node 21.6.1 |
csharp | 1.cs | 2745ms | 25ms | 17.2MB | 2707ms | 37ms | dotnet/aot 8.0.101 |
kotlin | 1.kt | 3058ms | 41ms | 233.9MB | 3943ms | 80ms | kotlin/jvm 21 |
python | 1.py | 3144ms | 7.0ms | 8.3MB | 3127ms | 0ms | pyston 3.8.12 |
csharp | 1.cs | 3518ms | 28ms | 1354.7MB | 2813ms | 747ms | dotnet 8.0.101 |
wasm | 1.rs | 3531ms | 59ms | 58.4MB | 3590ms | 20ms | node 18.19.0 |
python | 1.py | 3598ms | 18ms | 9.1MB | 3590ms | 0ms | cpython 3.12.1 |
wasm | 1.rs | 3639ms | 5.5ms | 18.5MB | 3623ms | 0ms | wasmtime 17.0.0 |
python | 1.py | 3760ms | 22ms | 62.8MB | 3723ms | 20ms | pypy 3.10.13 |
d | 1.d | 4839ms | 54ms | 4.0MB | 4823ms | 303ms | ldc2 1.36.0 |
d | 1.d | timeout | 0.0ms | 6.4MB | 4977ms | 243ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0.rs | 32ms | 0.4ms | 1.8MB | 20ms | 0ms | rustc 1.75.0 |
go | 0-ffi.go | 46ms | 1.0ms | 11.9MB | 40ms | 0ms | go 1.21.6 |
chapel | 1.chpl | 311ms | 1.6ms | 33.1MB | 307ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 376ms | 25ms | 1.8MB | 360ms | 0ms | rustc 1.75.0 |
typescript | 1.ts | 532ms | 1.9ms | 59.6MB | 527ms | 13ms | deno 1.40.2 |
javascript | 1.js | 578ms | 2.0ms | 106.3MB | 590ms | 13ms | bun 1.0.25 |
javascript | 1.js | 655ms | 6.6ms | 50.7MB | 660ms | 7ms | node 21.6.1 |
csharp | 1.cs | 714ms | 21ms | 14.9MB | 703ms | 10ms | dotnet/aot 8.0.101 |
python | 1.py | 801ms | 9.6ms | 8.3MB | 790ms | 0ms | pyston 3.8.12 |
python | 1.py | 914ms | 2.1ms | 9.1MB | 900ms | 0ms | cpython 3.12.1 |
wasm | 1.rs | 923ms | 5.6ms | 19.0MB | 907ms | 0ms | wasmtime 17.0.0 |
wasm | 1.rs | 927ms | 13ms | 58.4MB | 977ms | 30ms | node 18.19.0 |
kotlin | 1-m.kt | 975ms | 45ms | 233.6MB | 1800ms | 47ms | kotlin/jvm 21 |
python | 1.py | 1044ms | 16ms | 61.5MB | 1020ms | 10ms | pypy 3.10.13 |
csharp | 1.cs | 1074ms | 24ms | 365.8MB | 920ms | 193ms | dotnet 8.0.101 |
d | 1.d | 1210ms | 4.9ms | 3.9MB | 1197ms | 80ms | ldc2 1.36.0 |
d | 1.d | 2023ms | 5.4ms | 6.3MB | 2027ms | 73ms | dmd 2.106.1 |