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 | 7.rs | 433ms | 4.1ms | 80.3MB | 443ms | 10ms | rustc 1.83.0 |
d | 3.d | 646ms | 60ms | 170.7MB | 847ms | 20ms | ldc2 1.39.0 |
d | 3.d | 1336ms | 1.5ms | 173.4MB | 1517ms | 23ms | dmd 2.109.1 |
chapel | 3.chpl | 1395ms | 6.8ms | 224.1MB | 1333ms | 53ms | chpl 1.31.0 |
nim | 1.nim | 1629ms | 16ms | 152.2MB | 1600ms | 17ms | nim/clang 2.2.0 |
nim | 1.nim | 1651ms | 7.0ms | 152.1MB | 1620ms | 17ms | nim 2.2.0 |
csharp | 6.cs | 1763ms | 7.0ms | 426.0MB | 1673ms | 140ms | dotnet/aot 9.0.100 |
csharp | 5.cs | 2089ms | 43ms | 458.3MB | 2153ms | 177ms | dotnet 9.0.100 |
python | 1.py | 2217ms | 5.8ms | 243.1MB | 2157ms | 43ms | pypy 3.10.14 |
csharp | 6.cs | 2779ms | 77ms | 450.3MB | 2717ms | 193ms | dotnet 9.0.100 |
csharp | 5.cs | 4277ms | 14ms | 428.0MB | 4177ms | 153ms | dotnet/aot 9.0.100 |
python | 1.py | 4742ms | 15ms | 226.2MB | 4557ms | 170ms | pyston 3.8.12 |
dart | 1.dart | timeout | 0.0ms | 204.1MB | 4937ms | 63ms | dart/exe 3.5.4 |
go | 3.go | timeout | 0.0ms | 122.2MB | 4977ms | 47ms | go 1.23.3 |
go | 3.go | timeout | 0.0ms | 104.3MB | 4980ms | 3ms | tinygo 0.34.0 |
java | 3.java | timeout | 0.0ms | 408.6MB | 5413ms | 107ms | graal/jvm 17.0.8 |
java | 3.java | timeout | 0.0ms | 302.3MB | 5323ms | 63ms | openjdk 21 |
java | 3.java | timeout | 0.0ms | 304.9MB | 5340ms | 50ms | openjdk 23 |
java | 3.java | timeout | 0.0ms | 469.2MB | 4963ms | 290ms | openjdk/zgc 21 |
kotlin | 1.kt | timeout | 0.0ms | 171.4MB | 5410ms | 40ms | kotlin/jvm 21 |
kotlin | 1n.kt | timeout | 0.0ms | 279.1MB | 4977ms | 917ms | kotlin/native 1.8.21 |
ocaml | 2.ml | timeout | 0.0ms | 484.9MB | 4780ms | 200ms | ocaml 5.2.1 |
python | 1.py | timeout | 0.0ms | 179.6MB | 4903ms | 77ms | cpython 3.13.0 |
v | 1.v | timeout | 0.0ms | 83.0MB | 4977ms | 10ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 7.rs | 51ms | 1.4ms | 13.3MB | 40ms | 3ms | rustc 1.83.0 |
d | 3.d | 71ms | 4.6ms | 26.6MB | 80ms | 3ms | ldc2 1.39.0 |
d | 3.d | 144ms | 4.9ms | 28.3MB | 153ms | 0ms | dmd 2.109.1 |
chapel | 3.chpl | 170ms | 2.9ms | 53.0MB | 143ms | 20ms | chpl 1.31.0 |
nim | 1.nim | 173ms | 3.9ms | 17.6MB | 153ms | 7ms | nim/clang 2.2.0 |
nim | 1.nim | 175ms | 2.2ms | 16.5MB | 163ms | 0ms | nim 2.2.0 |
csharp | 6.cs | 194ms | 4.0ms | 54.2MB | 163ms | 17ms | dotnet/aot 9.0.100 |
csharp | 5.cs | 309ms | 13ms | 80.6MB | 273ms | 23ms | dotnet 9.0.100 |
python | 1.py | 330ms | 5.3ms | 85.5MB | 283ms | 30ms | pypy 3.10.14 |
csharp | 6.cs | 410ms | 7.1ms | 78.3MB | 377ms | 30ms | dotnet 9.0.100 |
csharp | 5.cs | 444ms | 2.4ms | 56.4MB | 417ms | 17ms | dotnet/aot 9.0.100 |
python | 1.py | 493ms | 3.6ms | 30.3MB | 450ms | 27ms | pyston 3.8.12 |
ocaml | 2.ml | 533ms | 28ms | 57.1MB | 490ms | 27ms | ocaml 5.2.1 |
dart | 1.dart | 559ms | 15ms | 47.9MB | 530ms | 13ms | dart/exe 3.5.4 |
python | 1.py | 587ms | 4.1ms | 29.9MB | 547ms | 23ms | cpython 3.13.0 |
java | 3-m.java | 799ms | 12ms | 133.4MB | 1223ms | 20ms | openjdk 21 |
java | 3-m.java | 812ms | 4.9ms | 182.3MB | 1223ms | 57ms | graal/jvm 17.0.8 |
kotlin | 1-m.kt | 814ms | 12ms | 134.0MB | 1243ms | 23ms | kotlin/jvm 21 |
java | 3-m.java | 825ms | 12ms | 132.6MB | 1253ms | 30ms | openjdk 23 |
java | 3.java | 988ms | 40ms | 134.2MB | 1170ms | 193ms | openjdk/zgc 21 |
go | 3.go | 1824ms | 69ms | 20.0MB | 1810ms | 20ms | go 1.23.3 |
go | 3.go | 2414ms | 11ms | 29.9MB | 2403ms | 0ms | tinygo 0.34.0 |
kotlin | 1n.kt | 3217ms | 72ms | 65.1MB | 4043ms | 10ms | kotlin/native 1.8.21 |
v | 1.v | 3278ms | 17ms | 26.0MB | 3260ms | 0ms | v/clang+gc 0.4.8 |