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 |
---|---|---|---|---|---|---|---|
c | 1-m.c | 180ms | 7.8ms | 25.8MB | 427ms | 0ms | gcc 14.2.0 |
rust | 8-m.rs | 226ms | 10ms | 30.0MB | 647ms | 17ms | rustc 1.83.0 |
c | 1-m.c | 298ms | 4.2ms | 27.7MB | 1027ms | 17ms | clang 14.0.0-1ubuntu1.1 |
csharp | 6-m.cs | 450ms | 7.7ms | 53.2MB | 1203ms | 23ms | dotnet/aot 9.0.100 |
rust | 8.rs | 503ms | 36ms | 23.9MB | 480ms | 7ms | rustc 1.83.0 |
d | 1-m.d | 715ms | 16ms | 51.1MB | 2293ms | 20ms | ldc2 1.39.0 |
chapel | 3-m.chpl | 760ms | 11ms | 91.1MB | 1427ms | 7ms | chpl 1.31.0 |
csharp | 6-m.cs | 762ms | 42ms | 79.1MB | 2107ms | 30ms | dotnet 9.0.100 |
zig | 1.zig | 787ms | 3.8ms | 20.4MB | 767ms | 7ms | zig 0.13.0 |
go | 7-m.go | 794ms | 3.9ms | 40.6MB | 2797ms | 37ms | go 1.23.3 |
java | 3-m.java | 992ms | 16ms | 155.1MB | 3317ms | 67ms | openjdk 23 |
java | 3-m.java | 1000ms | 78ms | 127.5MB | 3403ms | 30ms | openjdk 21 |
csharp | 6-m.cs | 1023ms | 12ms | 70.2MB | 2927ms | 23ms | mono 6.12.0 |
java | 3-m.java | 1150ms | 14ms | 183.6MB | 3873ms | 70ms | graal/jvm 17.0.8 |
java | 3-m.java | 1444ms | 61ms | 180.9MB | 4577ms | 197ms | openjdk/zgc 21 |
dart | 3-m.dart | 1567ms | 5.9ms | 279.8MB | 4740ms | 100ms | dart/exe 3.5.4 |
swift | 2-m.swift | 1595ms | 233ms | 72.7MB | 5200ms | 33ms | swift 6.0.2 |
d | 1-m.d | 1907ms | 5.2ms | 61.4MB | 5853ms | 10ms | dmd 2.109.1 |
python | 3-m.py | 2277ms | 16ms | 137.9MB | 7727ms | 313ms | pypy 3.10.14 |
python | 3-m.py | 3092ms | 33ms | 33.7MB | 11747ms | 113ms | pyston 3.8.12 |
python | 3.py | timeout | 0.0ms | 35.4MB | 83ms | 30ms | cpython 3.13.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 1-m.c | 30ms | 1.4ms | 12.6MB | 63ms | 3ms | gcc 14.2.0 |
rust | 8-m.rs | 34ms | 1.4ms | 15.7MB | 63ms | 3ms | rustc 1.83.0 |
c | 1-m.c | 38ms | 0.4ms | 14.9MB | 100ms | 3ms | clang 14.0.0-1ubuntu1.1 |
rust | 8.rs | 60ms | 0.3ms | 11.5MB | 47ms | 3ms | rustc 1.83.0 |
csharp | 6-m.cs | 84ms | 1.7ms | 42.9MB | 143ms | 13ms | dotnet/aot 9.0.100 |
zig | 1.zig | 88ms | 0.8ms | 7.6MB | 73ms | 0ms | zig 0.13.0 |
chapel | 3-m.chpl | 122ms | 1.7ms | 92.9MB | 200ms | 7ms | chpl 1.31.0 |
d | 1-m.d | 127ms | 22ms | 43.7MB | 313ms | 7ms | ldc2 1.39.0 |
go | 7-m.go | 147ms | 0.5ms | 25.9MB | 380ms | 27ms | go 1.23.3 |
csharp | 6-m.cs | 177ms | 6.8ms | 64.3MB | 270ms | 30ms | dotnet 9.0.100 |
csharp | 6-m.cs | 197ms | 3.4ms | 55.0MB | 383ms | 17ms | mono 6.12.0 |
d | 1-m.d | 223ms | 7.0ms | 43.9MB | 627ms | 17ms | dmd 2.109.1 |
dart | 3-m.dart | 262ms | 5.4ms | 195.2MB | 680ms | 60ms | dart/exe 3.5.4 |
swift | 2-m.swift | 271ms | 3.1ms | 64.1MB | 687ms | 40ms | swift 6.0.2 |
java | 3-m.java | 332ms | 16ms | 101.3MB | 963ms | 43ms | openjdk 21 |
java | 3-m.java | 345ms | 27ms | 89.8MB | 977ms | 67ms | openjdk 23 |
java | 3-m.java | 361ms | 32ms | 141.0MB | 980ms | 53ms | graal/jvm 17.0.8 |
python | 3-m.py | 376ms | 0.7ms | 77.1MB | 960ms | 143ms | pypy 3.10.14 |
python | 3-m.py | 397ms | 3.1ms | 17.7MB | 1317ms | 63ms | pyston 3.8.12 |
java | 3-m.java | 440ms | 3.1ms | 98.5MB | 930ms | 167ms | openjdk/zgc 21 |
python | 3-m.py | 664ms | 8.0ms | 17.0MB | 2327ms | 67ms | cpython 3.13.0 |