Current benchmark data was generated on Tue Apr 01 2025, 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 |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 91ms | 0.3ms | 5.2MB | 80ms | 0ms | go 1.24.1 |
rust | 0.rs | 120ms | 2.0ms | 1.9MB | 110ms | 0ms | rustc 1.85.1 |
chapel | 1.chpl | 1193ms | 1.4ms | 29.0MB | 1183ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 1453ms | 31ms | 1.9MB | 1443ms | 0ms | rustc 1.85.1 |
typescript | 1.ts | 1925ms | 0.7ms | 57.6MB | 1933ms | 13ms | deno 2.2.6 |
javascript | 1.js | 2498ms | 4.6ms | 59.8MB | 2507ms | 17ms | node 23.10.0 |
csharp | 1.cs | 2839ms | 5.3ms | 13.1MB | 2797ms | 33ms | dotnet/aot 9.0.202 |
javascript | 1.js | 2886ms | 0.3ms | 85.0MB | 2900ms | 50ms | bun 1.2.8 |
csharp | 1.cs | 2979ms | 42ms | 35.4MB | 3047ms | 40ms | dotnet 9.0.202 |
kotlin | 1.kt | 3045ms | 27ms | 232.9MB | 4030ms | 70ms | kotlin/jvm 21 |
python | 1.py | 3195ms | 7.0ms | 8.4MB | 3183ms | 0ms | pyston 3.8.12 |
python | 1.py | 3526ms | 20ms | 74.3MB | 3490ms | 20ms | pypy 3.10.16 |
wasm | 1.rs | 3610ms | 3.0ms | 16.9MB | 3597ms | 0ms | wasmtime 31.0.0 |
python | 1.py | 3855ms | 52ms | 8.6MB | 3847ms | 0ms | cpython 3.13.2 |
d | 1.d | 4822ms | 90ms | 4.0MB | 4747ms | 393ms | ldc2 1.40.1 |
d | 1.d | timeout | 0.0ms | 6.5MB | 4963ms | 280ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 27ms | 0.7ms | 5.2MB | 20ms | 0ms | go 1.24.1 |
rust | 0.rs | 33ms | 1.0ms | 1.8MB | 23ms | 0ms | rustc 1.85.1 |
chapel | 1.chpl | 319ms | 12ms | 29.1MB | 313ms | 0ms | chpl 1.31.0 |
rust | 1.rs | 365ms | 3.7ms | 1.9MB | 357ms | 0ms | rustc 1.85.1 |
typescript | 1.ts | 526ms | 1.2ms | 56.5MB | 527ms | 13ms | deno 2.2.6 |
javascript | 1.js | 670ms | 7.4ms | 57.1MB | 680ms | 13ms | node 23.10.0 |
csharp | 1.cs | 728ms | 13ms | 13.0MB | 707ms | 10ms | dotnet/aot 9.0.202 |
javascript | 1.js | 764ms | 19ms | 84.4MB | 763ms | 27ms | bun 1.2.8 |
python | 1.py | 811ms | 4.7ms | 8.3MB | 800ms | 0ms | pyston 3.8.12 |
wasm | 1.rs | 910ms | 1.5ms | 16.8MB | 897ms | 0ms | wasmtime 31.0.0 |
kotlin | 1-m.kt | 942ms | 2.8ms | 233.8MB | 1913ms | 73ms | kotlin/jvm 21 |
python | 1.py | 972ms | 5.1ms | 8.6MB | 960ms | 0ms | cpython 3.13.2 |
python | 1.py | 994ms | 11ms | 67.3MB | 963ms | 17ms | pypy 3.10.16 |
csharp | 1.cs | 999ms | 4.6ms | 34.1MB | 1083ms | 20ms | dotnet 9.0.202 |
d | 1.d | 1207ms | 13ms | 4.0MB | 1200ms | 77ms | ldc2 1.40.1 |
d | 1.d | 2080ms | 41ms | 6.9MB | 2047ms | 127ms | dmd 2.110.0 |