Current benchmark data was generated on Tue Dec 31 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 | 175ms | 15ms | 26.1MB | 410ms | 7ms | gcc 14.2.0 |
rust | 8-m.rs | 228ms | 4.6ms | 30.5MB | 650ms | 10ms | rustc 1.83.0 |
c | 1-m.c | 282ms | 6.9ms | 29.6MB | 953ms | 30ms | clang 14.0.0-1ubuntu1.1 |
csharp | 6-m.cs | 442ms | 15ms | 54.7MB | 1167ms | 20ms | dotnet/aot 9.0.101 |
rust | 8.rs | 472ms | 16ms | 23.8MB | 447ms | 10ms | rustc 1.83.0 |
d | 1-m.d | 599ms | 17ms | 52.0MB | 1927ms | 17ms | ldc2 1.40.0 |
csharp | 6-m.cs | 650ms | 8.3ms | 78.3MB | 1763ms | 37ms | dotnet 9.0.101 |
chapel | 3-m.chpl | 719ms | 7.0ms | 102.9MB | 1350ms | 7ms | chpl 1.31.0 |
go | 7-m.go | 745ms | 2.7ms | 42.1MB | 2660ms | 20ms | go 1.23.4 |
zig | 1.zig | 746ms | 5.8ms | 21.8MB | 720ms | 10ms | zig 0.13.0 |
java | 3-m.java | 957ms | 65ms | 126.8MB | 3243ms | 40ms | openjdk 21 |
csharp | 6-m.cs | 964ms | 22ms | 68.9MB | 2790ms | 33ms | mono 6.12.0 |
dart | 3-m.dart | 1000ms | 12ms | 278.4MB | 2963ms | 110ms | dart/exe 3.6.0 |
java | 3-m.java | 1032ms | 55ms | 183.8MB | 3450ms | 77ms | graal/jvm 17.0.8 |
java | 3-m.java | 1036ms | 18ms | 156.5MB | 3543ms | 47ms | openjdk 23 |
swift | 2-m.swift | 1324ms | 22ms | 74.6MB | 4820ms | 30ms | swift 6.0.3 |
java | 3-m.java | 1340ms | 52ms | 178.8MB | 4223ms | 190ms | openjdk/zgc 21 |
d | 1-m.d | 1751ms | 22ms | 55.1MB | 5230ms | 17ms | dmd 2.109.1 |
python | 3-m.py | 2164ms | 33ms | 137.9MB | 7297ms | 307ms | pypy 3.10.14 |
python | 3-m.py | 2926ms | 28ms | 34.0MB | 11103ms | 117ms | pyston 3.8.12 |
python | 3.py | timeout | 0.0ms | 35.7MB | 93ms | 7ms | cpython 3.13.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 1-m.c | 27ms | 0.6ms | 13.2MB | 57ms | 3ms | gcc 14.2.0 |
rust | 8-m.rs | 30ms | 2.5ms | 15.8MB | 53ms | 0ms | rustc 1.83.0 |
c | 1-m.c | 35ms | 1.3ms | 14.9MB | 103ms | 0ms | clang 14.0.0-1ubuntu1.1 |
rust | 8.rs | 58ms | 2.1ms | 11.5MB | 43ms | 0ms | rustc 1.83.0 |
csharp | 6-m.cs | 80ms | 1.3ms | 45.0MB | 130ms | 23ms | dotnet/aot 9.0.101 |
zig | 1.zig | 84ms | 2.3ms | 7.5MB | 67ms | 3ms | zig 0.13.0 |
d | 1-m.d | 93ms | 10.0ms | 39.2MB | 233ms | 3ms | ldc2 1.40.0 |
chapel | 3-m.chpl | 118ms | 3.2ms | 81.0MB | 200ms | 0ms | chpl 1.31.0 |
go | 7-m.go | 139ms | 3.0ms | 29.7MB | 357ms | 37ms | go 1.23.4 |
csharp | 6-m.cs | 160ms | 3.1ms | 66.3MB | 227ms | 37ms | dotnet 9.0.101 |
d | 1-m.d | 183ms | 8.9ms | 44.1MB | 557ms | 7ms | dmd 2.109.1 |
csharp | 6-m.cs | 184ms | 4.4ms | 55.0MB | 357ms | 20ms | mono 6.12.0 |
dart | 3-m.dart | 193ms | 3.6ms | 195.1MB | 460ms | 47ms | dart/exe 3.6.0 |
swift | 2-m.swift | 250ms | 3.1ms | 63.8MB | 653ms | 30ms | swift 6.0.3 |
java | 3-m.java | 311ms | 28ms | 87.9MB | 907ms | 17ms | openjdk 23 |
java | 3-m.java | 328ms | 29ms | 100.2MB | 973ms | 30ms | openjdk 21 |
java | 3-m.java | 356ms | 16ms | 139.7MB | 963ms | 53ms | graal/jvm 17.0.8 |
python | 3-m.py | 356ms | 2.8ms | 75.7MB | 893ms | 163ms | pypy 3.10.14 |
python | 3-m.py | 377ms | 10ms | 15.6MB | 1223ms | 73ms | pyston 3.8.12 |
java | 3-m.java | 401ms | 8.3ms | 100.0MB | 823ms | 167ms | openjdk/zgc 21 |
python | 3-m.py | 607ms | 6.1ms | 17.1MB | 2127ms | 67ms | cpython 3.13.1 |