Current benchmark data was generated on Sat Nov 16 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 | 459ms | 26ms | 80.3MB | 473ms | 17ms | rustc 1.82.0 |
d | 3.d | 614ms | 6.0ms | 171.9MB | 793ms | 23ms | ldc2 1.39.0 |
d | 3.d | 1345ms | 56ms | 174.6MB | 1557ms | 23ms | dmd 2.109.1 |
chapel | 3.chpl | 1387ms | 3.4ms | 224.1MB | 1337ms | 37ms | chpl 1.31.0 |
nim | 1.nim | 1625ms | 3.5ms | 151.9MB | 1590ms | 13ms | nim/clang 2.2.0 |
nim | 1.nim | 1649ms | 6.6ms | 152.1MB | 1613ms | 20ms | nim 2.2.0 |
csharp | 6.cs | 1754ms | 4.8ms | 426.6MB | 1663ms | 143ms | dotnet/aot 9.0.100 |
csharp | 5.cs | 2108ms | 44ms | 452.8MB | 2167ms | 183ms | dotnet 9.0.100 |
python | 1.py | 2231ms | 14ms | 242.0MB | 2173ms | 37ms | pypy 3.10.14 |
csharp | 6.cs | 2778ms | 82ms | 451.7MB | 2720ms | 180ms | dotnet 9.0.100 |
csharp | 5.cs | 4294ms | 41ms | 430.2MB | 4173ms | 170ms | dotnet/aot 9.0.100 |
python | 1.py | 4720ms | 6.1ms | 226.3MB | 4543ms | 163ms | pyston 3.8.12 |
dart | 1.dart | timeout | 0.0ms | 204.0MB | 4940ms | 70ms | dart/exe 3.5.4 |
go | 3.go | timeout | 0.0ms | 122.2MB | 4973ms | 57ms | go 1.23.3 |
go | 3.go | timeout | 0.0ms | 106.4MB | 4977ms | 10ms | tinygo 0.34.0 |
java | 3.java | timeout | 0.0ms | 409.5MB | 5413ms | 93ms | graal/jvm 17.0.8 |
java | 3.java | timeout | 0.0ms | 302.4MB | 5333ms | 47ms | openjdk 21 |
java | 3.java | timeout | 0.0ms | 305.1MB | 5333ms | 53ms | openjdk 23 |
java | 3.java | timeout | 0.0ms | 469.2MB | 4950ms | 310ms | openjdk/zgc 21 |
kotlin | 1.kt | timeout | 0.0ms | 171.4MB | 5383ms | 43ms | kotlin/jvm 21 |
kotlin | 1n.kt | timeout | 0.0ms | 279.0MB | 5193ms | 690ms | kotlin/native 1.8.21 |
ocaml | 2.ml | timeout | 0.0ms | 485.0MB | 4813ms | 173ms | ocaml 5.2.0 |
python | 1.py | timeout | 0.0ms | 173.3MB | 4927ms | 57ms | cpython 3.13.0 |
v | 1.v | timeout | 0.0ms | 83.0MB | 4980ms | 0ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 7.rs | 52ms | 2.2ms | 11.3MB | 47ms | 0ms | rustc 1.82.0 |
d | 3.d | 71ms | 3.4ms | 25.9MB | 83ms | 0ms | ldc2 1.39.0 |
d | 3.d | 145ms | 6.4ms | 26.5MB | 153ms | 7ms | dmd 2.109.1 |
chapel | 3.chpl | 170ms | 0.4ms | 52.9MB | 147ms | 13ms | chpl 1.31.0 |
nim | 1.nim | 172ms | 0.2ms | 16.8MB | 160ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 175ms | 1.9ms | 17.1MB | 160ms | 0ms | nim 2.2.0 |
csharp | 6.cs | 192ms | 0.4ms | 57.4MB | 160ms | 20ms | dotnet/aot 9.0.100 |
csharp | 5.cs | 295ms | 8.5ms | 81.4MB | 263ms | 20ms | dotnet 9.0.100 |
python | 1.py | 326ms | 2.1ms | 84.5MB | 293ms | 17ms | pypy 3.10.14 |
csharp | 6.cs | 389ms | 1.3ms | 77.9MB | 353ms | 30ms | dotnet 9.0.100 |
csharp | 5.cs | 440ms | 1.5ms | 55.9MB | 413ms | 20ms | dotnet/aot 9.0.100 |
python | 1.py | 495ms | 2.7ms | 30.3MB | 460ms | 20ms | pyston 3.8.12 |
ocaml | 2.ml | 522ms | 8.4ms | 57.1MB | 487ms | 17ms | ocaml 5.2.0 |
dart | 1.dart | 566ms | 18ms | 47.8MB | 537ms | 20ms | dart/exe 3.5.4 |
python | 1.py | 594ms | 3.3ms | 29.0MB | 567ms | 10ms | cpython 3.13.0 |
java | 3-m.java | 790ms | 35ms | 183.2MB | 1160ms | 67ms | graal/jvm 17.0.8 |
java | 3-m.java | 807ms | 10ms | 132.0MB | 1210ms | 30ms | openjdk 21 |
kotlin | 1-m.kt | 816ms | 17ms | 133.5MB | 1237ms | 33ms | kotlin/jvm 21 |
java | 3-m.java | 831ms | 18ms | 132.5MB | 1220ms | 40ms | openjdk 23 |
java | 3.java | 947ms | 6.5ms | 135.2MB | 1103ms | 187ms | openjdk/zgc 21 |
go | 3.go | 1796ms | 32ms | 20.2MB | 1780ms | 23ms | go 1.23.3 |
go | 3.go | 2422ms | 21ms | 30.3MB | 2407ms | 0ms | tinygo 0.34.0 |
kotlin | 1n.kt | 3103ms | 11ms | 67.1MB | 3820ms | 7ms | kotlin/native 1.8.21 |
v | 1.v | 3244ms | 34ms | 26.0MB | 3230ms | 0ms | v/clang+gc 0.4.8 |