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 | 7.rs | 434ms | 9.7ms | 80.4MB | 450ms | 17ms | rustc 1.83.0 |
d | 3.d | 553ms | 3.0ms | 171.3MB | 723ms | 17ms | ldc2 1.40.0 |
d | 3.d | 1264ms | 9.1ms | 173.4MB | 1433ms | 23ms | dmd 2.109.1 |
chapel | 3.chpl | 1315ms | 8.8ms | 224.1MB | 1263ms | 40ms | chpl 1.31.0 |
nim | 1.nim | 1541ms | 6.9ms | 152.3MB | 1513ms | 13ms | nim/clang 2.2.0 |
nim | 1.nim | 1567ms | 8.6ms | 151.5MB | 1530ms | 23ms | nim 2.2.0 |
csharp | 6.cs | 1674ms | 29ms | 429.0MB | 1580ms | 140ms | dotnet/aot 9.0.101 |
csharp | 5.cs | 1999ms | 113ms | 454.9MB | 2007ms | 180ms | dotnet 9.0.101 |
python | 1.py | 2122ms | 9.7ms | 243.2MB | 2060ms | 43ms | pypy 3.10.14 |
csharp | 6.cs | 2674ms | 130ms | 449.7MB | 2617ms | 163ms | dotnet 9.0.101 |
csharp | 5.cs | 4066ms | 34ms | 430.2MB | 3957ms | 153ms | dotnet/aot 9.0.101 |
python | 1.py | 4481ms | 9.0ms | 226.3MB | 4283ms | 180ms | pyston 3.8.12 |
ocaml | 2.ml | 4814ms | 25ms | 484.9MB | 4640ms | 157ms | ocaml 5.2.1 |
dart | 1.dart | timeout | 0.0ms | 204.3MB | 4947ms | 67ms | dart/exe 3.6.0 |
go | 3.go | timeout | 0.0ms | 122.4MB | 4977ms | 47ms | go 1.23.4 |
go | 3.go | timeout | 0.0ms | 106.6MB | 4983ms | 3ms | tinygo 0.35.0 |
java | 3.java | timeout | 0.0ms | 501.9MB | 5477ms | 97ms | graal/jvm 17.0.8 |
java | 3.java | timeout | 0.0ms | 328.2MB | 5333ms | 50ms | openjdk 21 |
java | 3.java | timeout | 0.0ms | 350.8MB | 5360ms | 57ms | openjdk 23 |
java | 3.java | timeout | 0.0ms | 488.6MB | 4940ms | 307ms | openjdk/zgc 21 |
kotlin | 1.kt | timeout | 0.0ms | 171.4MB | 5370ms | 43ms | kotlin/jvm 21 |
kotlin | 1n.kt | timeout | 0.0ms | 278.9MB | 5463ms | 463ms | kotlin/native 1.8.21 |
python | 1.py | timeout | 0.0ms | 165.8MB | 4940ms | 40ms | 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 | 48ms | 0.4ms | 11.4MB | 40ms | 3ms | rustc 1.83.0 |
d | 3.d | 64ms | 4.9ms | 24.0MB | 73ms | 0ms | ldc2 1.40.0 |
d | 3.d | 131ms | 1.5ms | 26.8MB | 140ms | 3ms | dmd 2.109.1 |
chapel | 3.chpl | 161ms | 3.9ms | 52.9MB | 140ms | 10ms | chpl 1.31.0 |
nim | 1.nim | 162ms | 0.2ms | 17.6MB | 143ms | 3ms | nim/clang 2.2.0 |
nim | 1.nim | 163ms | 1.8ms | 17.4MB | 153ms | 0ms | nim 2.2.0 |
csharp | 6.cs | 179ms | 2.1ms | 55.1MB | 157ms | 13ms | dotnet/aot 9.0.101 |
csharp | 5.cs | 278ms | 16ms | 80.5MB | 237ms | 30ms | dotnet 9.0.101 |
python | 1.py | 310ms | 4.2ms | 85.0MB | 273ms | 20ms | pypy 3.10.14 |
csharp | 6.cs | 370ms | 4.1ms | 79.2MB | 343ms | 20ms | dotnet 9.0.101 |
csharp | 5.cs | 415ms | 1.9ms | 56.8MB | 393ms | 10ms | dotnet/aot 9.0.101 |
python | 1.py | 468ms | 2.3ms | 30.5MB | 440ms | 13ms | pyston 3.8.12 |
ocaml | 2.ml | 488ms | 5.4ms | 57.1MB | 447ms | 30ms | ocaml 5.2.1 |
dart | 1.dart | 522ms | 16ms | 48.4MB | 497ms | 13ms | dart/exe 3.6.0 |
python | 1.py | 594ms | 8.6ms | 31.0MB | 557ms | 23ms | cpython 3.13.1 |
java | 3-m.java | 749ms | 10ms | 130.7MB | 1110ms | 37ms | openjdk 21 |
kotlin | 1-m.kt | 759ms | 8.2ms | 133.8MB | 1143ms | 27ms | kotlin/jvm 21 |
java | 3-m.java | 765ms | 72ms | 178.4MB | 1157ms | 47ms | graal/jvm 17.0.8 |
java | 3-m.java | 770ms | 25ms | 134.3MB | 1160ms | 43ms | openjdk 23 |
java | 3.java | 902ms | 21ms | 136.0MB | 1070ms | 167ms | openjdk/zgc 21 |
go | 3.go | 1730ms | 61ms | 20.3MB | 1703ms | 27ms | go 1.23.4 |
go | 3.go | 2365ms | 25ms | 28.8MB | 2350ms | 0ms | tinygo 0.35.0 |
kotlin | 1n.kt | 2968ms | 26ms | 65.1MB | 3653ms | 3ms | kotlin/native 1.8.21 |
v | 1.v | 3217ms | 76ms | 26.0MB | 3200ms | 0ms | v/clang+gc 0.4.9 |