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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 188ms | 0.7ms | 1.5MB | 177ms | 0ms | nim 2.2.0 |
nim | 2.nim | 239ms | 2.9ms | 1.8MB | 227ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 569ms | 1.0ms | 1.8MB | 433ms | 123ms | nim/clang 2.2.0 |
nim | 1.nim | 596ms | 1.0ms | 1.5MB | 467ms | 113ms | nim 2.2.0 |
typescript | 1.ts | 2099ms | 27ms | 59.6MB | 1957ms | 147ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 21ms | 0.6ms | 1.5MB | 10ms | 0ms | nim 2.2.0 |
nim | 2.nim | 26ms | 0.4ms | 1.6MB | 17ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 60ms | 1.1ms | 1.8MB | 40ms | 7ms | nim/clang 2.2.0 |
nim | 1.nim | 63ms | 1.0ms | 1.5MB | 43ms | 7ms | nim 2.2.0 |
typescript | 1.ts | 264ms | 21ms | 59.1MB | 250ms | 17ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 1.ts | 724ms | 16ms | 220.2MB | 637ms | 447ms | deno 2.1.2 |
typescript | 2.ts | 756ms | 47ms | 219.7MB | 653ms | 447ms | deno 2.1.2 |
typescript | 1-http2.ts | 921ms | 55ms | 215.5MB | 840ms | 430ms | deno 2.1.2 |
nim | 1.nim | 996ms | 14ms | 99.4MB | 277ms | 693ms | nim/clang 2.2.0 |
nim | 1.nim | 1015ms | 23ms | 99.2MB | 290ms | 693ms | nim 2.2.0 |
typescript | 2-tls.ts | 1482ms | 33ms | 238.7MB | 1283ms | 543ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 159ms | 2.7ms | 17.8MB | 37ms | 103ms | nim 2.2.0 |
nim | 1.nim | 166ms | 6.9ms | 18.1MB | 37ms | 113ms | nim/clang 2.2.0 |
typescript | 1.ts | 193ms | 1.2ms | 99.5MB | 150ms | 97ms | deno 2.1.2 |
typescript | 2.ts | 209ms | 16ms | 96.2MB | 147ms | 110ms | deno 2.1.2 |
typescript | 1-http2.ts | 234ms | 5.1ms | 101.5MB | 187ms | 97ms | deno 2.1.2 |
typescript | 2-tls.ts | 380ms | 6.2ms | 102.9MB | 270ms | 150ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 110ms | 2.7ms | 1.6MB | 100ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 116ms | 2.9ms | 1.3MB | 107ms | 0ms | nim 2.2.0 |
typescript | 2.ts | 270ms | 3.0ms | 69.3MB | 253ms | 17ms | deno 2.1.2 |
typescript | 1.ts | 572ms | 3.4ms | 61.9MB | 550ms | 17ms | deno 2.1.2 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4987ms | 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 | 322ms | 3.0ms | 1.9MB | 313ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 335ms | 1.0ms | 1.3MB | 323ms | 0ms | nim 2.2.0 |
typescript | 2.ts | 740ms | 7.1ms | 74.0MB | 730ms | 20ms | deno 2.1.2 |
typescript | 1.ts | 1651ms | 25ms | 72.1MB | 1627ms | 20ms | deno 2.1.2 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4987ms | 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 | 49ms | 1.7ms | 1.5MB | 40ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 51ms | 0.5ms | 1.3MB | 40ms | 0ms | nim 2.2.0 |
typescript | 2.ts | 142ms | 3.0ms | 64.8MB | 137ms | 7ms | deno 2.1.2 |
typescript | 1.ts | 167ms | 2.2ms | 60.9MB | 150ms | 10ms | deno 2.1.2 |
nim | 1.nim | 489ms | 3.0ms | 1.5MB | 480ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 490ms | 1.1ms | 1.3MB | 480ms | 0ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 1.3ms | 1.6MB | 3563ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 3593ms | 7.6ms | 1.4MB | 3583ms | 0ms | nim 2.2.0 |
typescript | 7.ts | 4067ms | 49ms | 60.3MB | 4053ms | 7ms | deno 2.1.2 |