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 | 7.rs | 445ms | 5.0ms | 80.4MB | 477ms | 10ms | rustc 1.84.0 |
d | 3.d | 574ms | 1.2ms | 171.6MB | 757ms | 23ms | ldc2 1.40.0 |
d | 3.d | 1293ms | 4.0ms | 174.3MB | 1480ms | 20ms | dmd 2.109.1 |
chapel | 3.chpl | 1392ms | 7.7ms | 224.2MB | 1343ms | 37ms | chpl 1.31.0 |
nim | 1.nim | 1621ms | 2.5ms | 151.6MB | 1577ms | 23ms | nim/clang 2.2.0 |
nim | 1.nim | 1646ms | 1.9ms | 152.0MB | 1603ms | 23ms | nim 2.2.0 |
csharp | 6.cs | 1747ms | 9.0ms | 429.4MB | 1660ms | 133ms | dotnet/aot 9.0.102 |
csharp | 5.cs | 2081ms | 40ms | 454.7MB | 2120ms | 190ms | dotnet 9.0.102 |
python | 1.py | 2225ms | 7.0ms | 243.0MB | 2163ms | 47ms | pypy 3.10.14 |
csharp | 6.cs | 2702ms | 39ms | 451.9MB | 2663ms | 167ms | dotnet 9.0.102 |
csharp | 5.cs | 4204ms | 37ms | 425.2MB | 4097ms | 153ms | dotnet/aot 9.0.102 |
python | 1.py | 4757ms | 33ms | 226.3MB | 4560ms | 180ms | pyston 3.8.12 |
dart | 1.dart | timeout | 0.0ms | 204.3MB | 4937ms | 63ms | dart/exe 3.6.1 |
go | 3.go | timeout | 0.0ms | 122.3MB | 4980ms | 43ms | go 1.23.5 |
go | 3.go | timeout | 0.0ms | 105.0MB | 4980ms | 7ms | tinygo 0.35.0 |
java | 3.java | timeout | 0.0ms | 411.6MB | 5427ms | 77ms | graal/jvm 17.0.8 |
java | 3.java | timeout | 0.0ms | 302.6MB | 5350ms | 47ms | openjdk 21 |
java | 3.java | timeout | 0.0ms | 304.6MB | 5303ms | 60ms | openjdk 23 |
java | 3.java | timeout | 0.0ms | 468.8MB | 4957ms | 313ms | openjdk/zgc 21 |
kotlin | 1.kt | timeout | 0.0ms | 171.6MB | 5427ms | 37ms | kotlin/jvm 21 |
kotlin | 1n.kt | timeout | 0.0ms | 279.1MB | 5003ms | 860ms | kotlin/native 1.8.21 |
ocaml | 2.ml | timeout | 0.0ms | 484.8MB | 4803ms | 180ms | ocaml 5.3.0 |
python | 1.py | timeout | 0.0ms | 108.7MB | 4957ms | 30ms | cpython 3.13.1 |
v | 1.v | timeout | 0.0ms | 83.1MB | 4977ms | 7ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 7.rs | 51ms | 0.5ms | 11.4MB | 40ms | 0ms | rustc 1.84.0 |
d | 3.d | 74ms | 17ms | 26.4MB | 83ms | 3ms | ldc2 1.40.0 |
d | 3.d | 136ms | 0.8ms | 27.0MB | 147ms | 0ms | dmd 2.109.1 |
chapel | 3.chpl | 168ms | 1.8ms | 52.9MB | 153ms | 7ms | chpl 1.31.0 |
nim | 1.nim | 174ms | 0.4ms | 17.6MB | 160ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 175ms | 2.7ms | 16.5MB | 160ms | 0ms | nim 2.2.0 |
csharp | 6.cs | 191ms | 1.2ms | 54.4MB | 167ms | 17ms | dotnet/aot 9.0.102 |
csharp | 5.cs | 293ms | 6.7ms | 80.4MB | 240ms | 43ms | dotnet 9.0.102 |
python | 1.py | 334ms | 2.9ms | 85.5MB | 293ms | 27ms | pypy 3.10.14 |
csharp | 6.cs | 390ms | 2.9ms | 78.2MB | 350ms | 37ms | dotnet 9.0.102 |
csharp | 5.cs | 429ms | 2.0ms | 58.0MB | 403ms | 17ms | dotnet/aot 9.0.102 |
python | 1.py | 497ms | 5.0ms | 30.3MB | 460ms | 23ms | pyston 3.8.12 |
ocaml | 2.ml | 545ms | 6.3ms | 57.2MB | 507ms | 27ms | ocaml 5.3.0 |
dart | 1.dart | 561ms | 11ms | 48.1MB | 537ms | 13ms | dart/exe 3.6.1 |
python | 1.py | 621ms | 3.4ms | 31.0MB | 593ms | 10ms | cpython 3.13.1 |
java | 3-m.java | 771ms | 11ms | 181.0MB | 1147ms | 53ms | graal/jvm 17.0.8 |
java | 3-m.java | 820ms | 17ms | 131.5MB | 1230ms | 23ms | openjdk 21 |
java | 3-m.java | 828ms | 41ms | 132.5MB | 1230ms | 40ms | openjdk 23 |
kotlin | 1-m.kt | 836ms | 29ms | 134.6MB | 1223ms | 50ms | kotlin/jvm 21 |
java | 3.java | 958ms | 13ms | 132.5MB | 1157ms | 173ms | openjdk/zgc 21 |
go | 3.go | 1781ms | 4.0ms | 20.0MB | 1760ms | 23ms | go 1.23.5 |
go | 3.go | 2461ms | 14ms | 30.0MB | 2447ms | 0ms | tinygo 0.35.0 |
v | 1.v | 3294ms | 20ms | 34.1MB | 3280ms | 0ms | v/clang+gc 0.4.9 |
kotlin | 1n.kt | 3337ms | 226ms | 65.0MB | 4233ms | 10ms | kotlin/native 1.8.21 |