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 | 5-i.rs | 28ms | 1.0ms | 9.8MB | 17ms | 0ms | rustc 1.83.0 |
rust | 4-i.rs | 31ms | 0.8ms | 7.9MB | 13ms | 3ms | rustc 1.83.0 |
go | 2-ffi.go | 45ms | 1.4ms | 40.7MB | 40ms | 0ms | go 1.23.3 |
d | 2.d | 59ms | 0.4ms | 15.7MB | 57ms | 3ms | ldc2 1.39.0 |
rust | 3.rs | 61ms | 0.9ms | 33.8MB | 37ms | 7ms | rustc 1.83.0 |
rust | 2.rs | 63ms | 1.2ms | 35.5MB | 40ms | 7ms | rustc 1.83.0 |
javascript | 1.js | 83ms | 0.8ms | 65.6MB | 53ms | 20ms | bun 1.1.38 |
rust | 1.rs | 101ms | 2.1ms | 69.3MB | 63ms | 23ms | rustc 1.83.0 |
javascript | 1.js | 131ms | 12ms | 78.8MB | 113ms | 20ms | node 23.3.0 |
go | 1.go | 140ms | 2.7ms | 18.4MB | 133ms | 0ms | go 1.23.3 |
dart | 1.dart | 163ms | 2.3ms | 52.1MB | 137ms | 20ms | dart/exe 3.5.4 |
typescript | 1.ts | 167ms | 1.4ms | 94.8MB | 163ms | 33ms | deno 2.1.2 |
python | 1.py | 197ms | 4.7ms | 38.1MB | 170ms | 10ms | pyston 3.8.12 |
python | 1.py | 218ms | 1.6ms | 38.5MB | 190ms | 10ms | cpython 3.13.0 |
d | 2.d | 238ms | 0.6ms | 22.7MB | 243ms | 7ms | dmd 2.109.1 |
python | 1.py | 292ms | 7.9ms | 87.4MB | 247ms | 30ms | pypy 3.10.14 |
ruby | 1.rb | 294ms | 4.5ms | 48.1MB | 247ms | 30ms | ruby 3.3.6 |
ruby | 1.rb | 298ms | 2.3ms | 48.3MB | 253ms | 33ms | ruby/yjit 3.3.6 |
csharp | 2.cs | 310ms | 3.5ms | 78.5MB | 270ms | 37ms | dotnet 9.0.100 |
csharp | 1.cs | 721ms | 15ms | 153.3MB | 737ms | 83ms | dotnet 9.0.100 |
kotlin | 1-m.kt | 892ms | 33ms | 202.2MB | 2373ms | 113ms | kotlin/jvm 21 |
ruby | 1.rb | timeout | 0.0ms | 482.6MB | 13033ms | 340ms | truffleruby 24.1.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 5-i.rs | 207ms | 0.4ms | 52.8MB | 180ms | 10ms | rustc 1.83.0 |
go | 2-ffi.go | 243ms | 4.9ms | 150.6MB | 227ms | 37ms | go 1.23.3 |
rust | 4-i.rs | 265ms | 7.0ms | 54.4MB | 203ms | 47ms | rustc 1.83.0 |
javascript | 1.js | 381ms | 3.3ms | 206.8MB | 340ms | 87ms | bun 1.1.38 |
rust | 3.rs | 403ms | 2.5ms | 238.3MB | 303ms | 87ms | rustc 1.83.0 |
rust | 2.rs | 412ms | 4.8ms | 237.8MB | 310ms | 83ms | rustc 1.83.0 |
d | 2.d | 470ms | 2.4ms | 141.5MB | 433ms | 37ms | ldc2 1.39.0 |
rust | 1.rs | 692ms | 5.4ms | 551.6MB | 440ms | 237ms | rustc 1.83.0 |
javascript | 1.js | 750ms | 34ms | 209.9MB | 837ms | 80ms | node 23.3.0 |
go | 1.go | 777ms | 6.4ms | 106.8MB | 757ms | 23ms | go 1.23.3 |
typescript | 1.ts | 1219ms | 10ms | 432.1MB | 1357ms | 123ms | deno 2.1.2 |
dart | 1.dart | 1409ms | 1.1ms | 300.6MB | 1480ms | 103ms | dart/exe 3.5.4 |
csharp | 2.cs | 1627ms | 30ms | 225.3MB | 1817ms | 93ms | dotnet 9.0.100 |
python | 1.py | 1808ms | 8.0ms | 220.5MB | 1643ms | 143ms | pyston 3.8.12 |
python | 1.py | 1885ms | 7.7ms | 222.0MB | 1820ms | 50ms | pypy 3.10.14 |
python | 1.py | 1937ms | 18ms | 223.0MB | 1830ms | 93ms | cpython 3.13.0 |
kotlin | 1-m.kt | 2318ms | 69ms | 758.1MB | 5017ms | 187ms | kotlin/jvm 21 |
ruby | 1.rb | 2318ms | 20ms | 169.6MB | 2167ms | 133ms | ruby/yjit 3.3.6 |
ruby | 1.rb | 2361ms | 106ms | 168.7MB | 2257ms | 90ms | ruby 3.3.6 |
d | 2.d | 2491ms | 23ms | 161.0MB | 2517ms | 23ms | dmd 2.109.1 |
csharp | 1.cs | 2565ms | 53ms | 682.4MB | 2963ms | 373ms | dotnet 9.0.100 |
ruby | 1.rb | timeout | 0.0ms | 570.4MB | 13050ms | 390ms | truffleruby 24.1.1 |