Current benchmark data was generated on Wed Jan 22 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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 185ms | 2.3ms | 1.5MB | 177ms | 0ms | nim 2.2.0 |
nim | 2.nim | 238ms | 0.8ms | 1.8MB | 227ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 578ms | 7.8ms | 1.8MB | 453ms | 110ms | nim/clang 2.2.0 |
nim | 1.nim | 599ms | 1.3ms | 1.5MB | 473ms | 110ms | nim 2.2.0 |
typescript | 1.ts | 2097ms | 5.3ms | 60.8MB | 1977ms | 130ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 20ms | 0.3ms | 1.5MB | 10ms | 0ms | nim 2.2.0 |
nim | 2.nim | 26ms | 0.3ms | 1.8MB | 13ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 60ms | 0.5ms | 1.8MB | 37ms | 10ms | nim/clang 2.2.0 |
nim | 1.nim | 62ms | 0.1ms | 1.5MB | 40ms | 10ms | nim 2.2.0 |
typescript | 1.ts | 253ms | 17ms | 59.5MB | 230ms | 23ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 2-m.ts | 690ms | 9.9ms | 216.0MB | 617ms | 423ms | deno 2.1.7 |
typescript | 1.ts | 725ms | 44ms | 214.2MB | 610ms | 457ms | deno 2.1.7 |
typescript | 1-http2.ts | 879ms | 17ms | 221.1MB | 773ms | 437ms | deno 2.1.7 |
nim | 1.nim | 977ms | 12ms | 98.8MB | 270ms | 683ms | nim/clang 2.2.0 |
nim | 1.nim | 996ms | 26ms | 99.2MB | 277ms | 697ms | nim 2.2.0 |
typescript | 2-tls.ts | 1435ms | 13ms | 236.7MB | 1280ms | 477ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 163ms | 5.2ms | 17.8MB | 47ms | 100ms | nim 2.2.0 |
nim | 1.nim | 163ms | 3.8ms | 18.2MB | 33ms | 113ms | nim/clang 2.2.0 |
typescript | 2.ts | 187ms | 5.5ms | 95.7MB | 137ms | 100ms | deno 2.1.7 |
typescript | 1.ts | 199ms | 13ms | 95.7MB | 143ms | 97ms | deno 2.1.7 |
typescript | 1-http2.ts | 232ms | 6.4ms | 95.7MB | 163ms | 97ms | deno 2.1.7 |
typescript | 2-tls.ts | 384ms | 25ms | 105.1MB | 293ms | 117ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 110ms | 1.6ms | 1.6MB | 100ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 114ms | 0.5ms | 1.4MB | 103ms | 0ms | nim 2.2.0 |
typescript | 2.ts | 286ms | 13ms | 65.3MB | 273ms | 13ms | deno 2.1.7 |
typescript | 1.ts | 568ms | 8.1ms | 62.3MB | 550ms | 13ms | deno 2.1.7 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.0 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 323ms | 4.9ms | 1.6MB | 313ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 337ms | 4.4ms | 1.4MB | 323ms | 0ms | nim 2.2.0 |
typescript | 2.ts | 724ms | 3.6ms | 72.6MB | 710ms | 23ms | deno 2.1.7 |
typescript | 1.ts | 1642ms | 22ms | 69.2MB | 1620ms | 17ms | deno 2.1.7 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.0 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4987ms | 0ms | nim/clang 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 49ms | 1.1ms | 1.5MB | 40ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 50ms | 0.3ms | 1.3MB | 40ms | 0ms | nim 2.2.0 |
typescript | 2.ts | 145ms | 2.1ms | 61.8MB | 137ms | 10ms | deno 2.1.7 |
typescript | 1.ts | 169ms | 2.4ms | 59.6MB | 157ms | 10ms | deno 2.1.7 |
nim | 1.nim | 493ms | 4.9ms | 1.5MB | 480ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 519ms | 32ms | 1.3MB | 510ms | 0ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3573ms | 2.3ms | 1.6MB | 3560ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 3597ms | 4.0ms | 1.4MB | 3587ms | 0ms | nim 2.2.0 |
typescript | 7.ts | 4038ms | 7.2ms | 56.5MB | 4023ms | 7ms | deno 2.1.7 |