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 |
---|---|---|---|---|---|---|---|
chapel | 2.chpl | 450ms | 0.4ms | 34.3MB | 440ms | 0ms | chpl 1.31.0 |
go | 8.go | 1125ms | 7.4ms | 8.4MB | 1110ms | 3ms | go 1.23.3 |
dart | 2.dart | 1253ms | 5.8ms | 15.0MB | 1227ms | 27ms | dart/exe 3.5.4 |
rust | 1.rs | 1529ms | 13ms | 2.9MB | 1287ms | 217ms | rustc 1.82.0 |
rust | 2.rs | 1708ms | 5.9ms | 2.7MB | 1613ms | 77ms | rustc 1.82.0 |
python | 4.py | 1902ms | 3.9ms | 9.0MB | 1867ms | 20ms | pyston 3.8.12 |
python | 4.py | 1960ms | 11ms | 9.4MB | 1907ms | 37ms | cpython 3.13.0 |
crystal | 1.cr | 2001ms | 13ms | 6.4MB | 1953ms | 30ms | crystal 1.14.0 |
python | 4.py | 2130ms | 10ms | 89.1MB | 2090ms | 23ms | pypy 3.10.14 |
wasm | 2.rs | 2192ms | 2.4ms | 19.6MB | 2180ms | 3ms | wasmtime 25.0.3 |
d | 1.d | 2410ms | 8.4ms | 8.0MB | 2367ms | 387ms | ldc2 1.39.0 |
zig | 1.zig | 2456ms | 3.3ms | 2.3MB | 2427ms | 10ms | zig 0.13.0 |
acton | 1-m.act | 3110ms | 78ms | 6.7MB | 2773ms | 2133ms | actonc 0.24.1 |
csharp | 1.cs | 3199ms | 6.2ms | 19.7MB | 3087ms | 107ms | dotnet/aot 9.0.100 |
java | 1.java | 3201ms | 24ms | 449.2MB | 3637ms | 93ms | graal/jvm 17.0.8 |
csharp | 1.cs | 3600ms | 78ms | 44.2MB | 3597ms | 130ms | dotnet 9.0.100 |
java | 1.java | 3712ms | 28ms | 353.0MB | 4583ms | 120ms | openjdk 21 |
java | 1.java | 3720ms | 47ms | 393.7MB | 4540ms | 113ms | openjdk 23 |
kotlin | 1.kt | 3780ms | 66ms | 353.7MB | 4587ms | 93ms | kotlin/jvm 21 |
d | 1.d | 4352ms | 6.4ms | 10.1MB | 4243ms | 487ms | dmd 2.109.1 |
java | 1.java | timeout | 0.0ms | 1888.5MB | 4683ms | 1183ms | openjdk/zgc 21 |
javascript | 3.js | timeout | 0.0ms | 92.0MB | 4980ms | 23ms | node 23.1.0 |
kotlin | 1n.kt | timeout | 0.0ms | 7.6MB | 6390ms | 297ms | kotlin/native 1.8.21 |
kotlin | 2n.kt | timeout | 0.0ms | 8.2MB | 4990ms | 167ms | kotlin/native 1.8.21 |
ruby | 1.rb | timeout | 0.0ms | 108.5MB | 4930ms | 57ms | ruby 3.3.6 |
ruby | 1.rb | timeout | 0.0ms | 108.9MB | 4933ms | 47ms | ruby/yjit 3.3.6 |
ruby | 1.rb | timeout | 0.0ms | 468.5MB | 13197ms | 417ms | truffleruby 24.1.1 |
swift | 1.swift | timeout | 0.0ms | 10.0MB | 4930ms | 57ms | swift 6.0.2 |
typescript | 3.ts | timeout | 0.0ms | 98.6MB | 4977ms | 33ms | deno 2.0.6 |
v | 2.v | timeout | 0.0ms | 8.0MB | 4983ms | 3ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
chapel | 2.chpl | 121ms | 0.8ms | 34.4MB | 113ms | 0ms | chpl 1.31.0 |
go | 8.go | 270ms | 2.8ms | 8.4MB | 253ms | 3ms | go 1.23.3 |
rust | 1.rs | 322ms | 1.3ms | 2.4MB | 293ms | 13ms | rustc 1.82.0 |
dart | 2.dart | 322ms | 2.5ms | 14.9MB | 297ms | 17ms | dart/exe 3.5.4 |
rust | 2.rs | 379ms | 1.9ms | 2.5MB | 367ms | 0ms | rustc 1.82.0 |
crystal | 1.cr | 451ms | 17ms | 5.2MB | 433ms | 0ms | crystal 1.14.0 |
python | 4.py | 451ms | 6.4ms | 8.6MB | 440ms | 0ms | pyston 3.8.12 |
python | 4.py | 464ms | 1.8ms | 9.1MB | 450ms | 0ms | cpython 3.13.0 |
wasm | 2.rs | 517ms | 0.6ms | 18.9MB | 500ms | 0ms | wasmtime 25.0.3 |
python | 4.py | 546ms | 9.4ms | 83.5MB | 503ms | 30ms | pypy 3.10.14 |
zig | 1.zig | 567ms | 4.0ms | 1.8MB | 557ms | 0ms | zig 0.13.0 |
d | 1.d | 578ms | 1.6ms | 8.1MB | 557ms | 93ms | ldc2 1.39.0 |
csharp | 1.cs | 751ms | 1.3ms | 19.6MB | 710ms | 30ms | dotnet/aot 9.0.100 |
v | 2.v | 813ms | 24ms | 2.8MB | 800ms | 0ms | v/clang+gc 0.4.8 |
java | 1-m.java | 892ms | 9.3ms | 370.8MB | 1247ms | 97ms | graal/jvm 17.0.8 |
acton | 1-m.act | 932ms | 61ms | 5.7MB | 810ms | 600ms | actonc 0.24.1 |
java | 1-m.java | 979ms | 26ms | 350.8MB | 1753ms | 90ms | openjdk 21 |
csharp | 1.cs | 991ms | 26ms | 44.0MB | 1090ms | 37ms | dotnet 9.0.100 |
kotlin | 1-m.kt | 992ms | 31ms | 352.8MB | 1700ms | 87ms | kotlin/jvm 21 |
java | 1-m.java | 1036ms | 15ms | 389.8MB | 1740ms | 103ms | openjdk 23 |
d | 1.d | 1041ms | 11ms | 10.2MB | 1027ms | 113ms | dmd 2.109.1 |
javascript | 3.js | 1123ms | 6.1ms | 74.5MB | 1103ms | 17ms | node 23.1.0 |
typescript | 3.ts | 1297ms | 7.1ms | 78.0MB | 1243ms | 73ms | deno 2.0.6 |
ruby | 1-m.rb | 1636ms | 242ms | 437.0MB | 4297ms | 203ms | truffleruby 24.1.1 |
ruby | 1.rb | 1677ms | 12ms | 108.7MB | 1600ms | 60ms | ruby/yjit 3.3.6 |
ruby | 1.rb | 1681ms | 11ms | 108.4MB | 1607ms | 60ms | ruby 3.3.6 |
swift | 1.swift | 1914ms | 8.6ms | 9.9MB | 1897ms | 3ms | swift 6.0.2 |
java | 1.java | 2005ms | 40ms | 1329.4MB | 1683ms | 1067ms | openjdk/zgc 21 |
kotlin | 1n.kt | timeout | 0.0ms | 7.3MB | 6427ms | 263ms | kotlin/native 1.8.21 |
kotlin | 2n.kt | timeout | 0.0ms | 8.2MB | 5007ms | 150ms | kotlin/native 1.8.21 |