Current benchmark data was generated on Thu Feb 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 |
---|---|---|---|---|---|---|---|
go | 3-m.go | 123ms | 0.2ms | 5.3MB | 370ms | 0ms | go 1.21.6 |
typescript | 1.ts | 2930ms | 24ms | 60.1MB | 2793ms | 147ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3-m.go | 17ms | 0.4ms | 5.3MB | 30ms | 0ms | go 1.21.6 |
typescript | 1.ts | 328ms | 1.0ms | 59.5MB | 313ms | 27ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 121ms | 6.0ms | 59.4MB | 300ms | 103ms | go 1.21.6 |
go | 2-m.go | 445ms | 7.9ms | 175.9MB | 593ms | 670ms | go 1.21.6 |
go | 1-m.go | 454ms | 8.3ms | 167.7MB | 667ms | 603ms | go 1.21.6 |
typescript | 2-m.ts | 950ms | 13ms | 168.7MB | 1003ms | 447ms | deno 1.40.2 |
typescript | 1-m.ts | 982ms | 39ms | 167.3MB | 1020ms | 480ms | deno 1.40.2 |
typescript | 2-tls.ts | 1138ms | 20ms | 170.2MB | 1173ms | 490ms | deno 1.40.2 |
typescript | 1-http2.ts | 1144ms | 47ms | 167.1MB | 1200ms | 470ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 25ms | 14ms | 25.4MB | 50ms | 30ms | go 1.21.6 |
go | 2-m.go | 111ms | 29ms | 33.9MB | 87ms | 83ms | go 1.21.6 |
go | 1-m.go | 112ms | 8.6ms | 38.1MB | 97ms | 97ms | go 1.21.6 |
typescript | 2.ts | 223ms | 8.6ms | 91.5MB | 120ms | 100ms | deno 1.40.2 |
typescript | 1.ts | 231ms | 16ms | 95.2MB | 143ms | 77ms | deno 1.40.2 |
typescript | 1-http2.ts | 271ms | 15ms | 90.4MB | 173ms | 87ms | deno 1.40.2 |
typescript | 2-tls.ts | 385ms | 15ms | 96.0MB | 270ms | 103ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 128ms | 1.8ms | 3.3MB | 120ms | 0ms | go 1.21.6 |
go | 3.go | 135ms | 4.0ms | 0.3MB | 127ms | 0ms | tinygo 0.30.0 |
typescript | 2.ts | 267ms | 4.6ms | 63.9MB | 250ms | 17ms | deno 1.40.2 |
typescript | 1.ts | 528ms | 2.2ms | 64.6MB | 513ms | 13ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 371ms | 1.4ms | 3.3MB | 360ms | 0ms | go 1.21.6 |
go | 3.go | 388ms | 1.8ms | 2.3MB | 380ms | 0ms | tinygo 0.30.0 |
typescript | 2.ts | 719ms | 8.2ms | 72.2MB | 720ms | 13ms | deno 1.40.2 |
typescript | 1.ts | 1515ms | 8.0ms | 69.7MB | 1503ms | 13ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 63ms | 0.8ms | 3.1MB | 53ms | 0ms | go 1.21.6 |
go | 3.go | 71ms | 5.8ms | 0.1MB | 63ms | 0ms | tinygo 0.30.0 |
typescript | 2.ts | 142ms | 0.4ms | 61.9MB | 133ms | 10ms | deno 1.40.2 |
typescript | 1.ts | 163ms | 0.4ms | 60.1MB | 150ms | 10ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 1.ts | 554ms | 0.7ms | 130.9MB | 633ms | 73ms | deno 1.40.2 |
go | 1-m.go | 1632ms | 20ms | 39.1MB | 3303ms | 47ms | go 1.21.6 |
go | 2-m.go | 1860ms | 6.1ms | 41.4MB | 3863ms | 37ms | go 1.21.6 |
go | 1.go | 2314ms | 36ms | 51.7MB | 2297ms | 7ms | tinygo 0.30.0 |
go | 2.go | 3797ms | 21ms | 119.4MB | 3773ms | 7ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 1.ts | 166ms | 3.3ms | 99.0MB | 160ms | 47ms | deno 1.40.2 |
go | 1-m.go | 365ms | 1.8ms | 13.8MB | 710ms | 13ms | go 1.21.6 |
go | 2-m.go | 409ms | 1.0ms | 13.8MB | 820ms | 20ms | go 1.21.6 |
go | 1.go | 445ms | 1.4ms | 13.8MB | 433ms | 0ms | tinygo 0.30.0 |
go | 2.go | 684ms | 10ms | 39.5MB | 670ms | 0ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 8.go | 1129ms | 7.4ms | 8.4MB | 1110ms | 7ms | go 1.21.6 |
typescript | 3.ts | timeout | 0.0ms | 100.6MB | 4977ms | 53ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 8.go | 271ms | 3.7ms | 8.5MB | 257ms | 3ms | go 1.21.6 |
typescript | 3.ts | 1268ms | 11ms | 86.3MB | 1210ms | 73ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 141ms | 1.0ms | 12.2MB | 137ms | 3ms | go 1.21.6 |
typescript | 1.ts | 1958ms | 9.9ms | 60.2MB | 1957ms | 13ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 46ms | 1.0ms | 11.9MB | 40ms | 0ms | go 1.21.6 |
typescript | 1.ts | 532ms | 1.9ms | 59.6MB | 527ms | 13ms | deno 1.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1911ms | 7.7ms | 5.3MB | 7327ms | 0ms | go 1.21.6 |
go | 1.go | 3639ms | 25ms | 5.4MB | 3630ms | 0ms | go 1.21.6 |
typescript | 7.ts | 4066ms | 156ms | 59.5MB | 4050ms | 13ms | deno 1.40.2 |
go | 1.go | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | tinygo 0.30.0 |