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 |
---|---|---|---|---|---|---|---|
go | 3-m.go | 128ms | 0.9ms | 5.4MB | 397ms | 3ms | go 1.23.3 |
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 |
---|---|---|---|---|---|---|---|
go | 3-m.go | 18ms | 0.2ms | 5.5MB | 37ms | 0ms | go 1.23.3 |
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 |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 121ms | 2.2ms | 65.8MB | 333ms | 80ms | go 1.23.3 |
go | 1-m.go | 469ms | 13ms | 178.2MB | 657ms | 693ms | go 1.23.3 |
go | 2-m.go | 471ms | 13ms | 172.3MB | 627ms | 700ms | go 1.23.3 |
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 |
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 |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 28ms | 3.1ms | 23.0MB | 57ms | 10ms | go 1.23.3 |
go | 1-m.go | 96ms | 6.3ms | 36.5MB | 77ms | 127ms | go 1.23.3 |
go | 2-m.go | 112ms | 12ms | 42.5MB | 93ms | 133ms | go 1.23.3 |
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 |
---|---|---|---|---|---|---|---|
go | 3.go | 132ms | 1.8ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
go | 3.go | 135ms | 3.9ms | 0.3MB | 127ms | 0ms | tinygo 0.34.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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 380ms | 0.4ms | 3.4MB | 370ms | 0ms | go 1.23.3 |
go | 3.go | 391ms | 5.4ms | 2.3MB | 383ms | 0ms | tinygo 0.34.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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 68ms | 0.8ms | 5.4MB | 57ms | 0ms | go 1.23.3 |
go | 3.go | 69ms | 1.6ms | 0.1MB | 60ms | 0ms | tinygo 0.34.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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 1.ts | 548ms | 3.5ms | 134.6MB | 640ms | 63ms | deno 2.1.2 |
go | 1-m.go | 1640ms | 27ms | 40.9MB | 3297ms | 47ms | go 1.23.3 |
go | 2-m.go | 1886ms | 10ms | 43.0MB | 3980ms | 47ms | go 1.23.3 |
go | 1.go | 1934ms | 5.2ms | 52.1MB | 1923ms | 0ms | tinygo 0.34.0 |
go | 2.go | 3292ms | 35ms | 90.4MB | 3277ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 1.ts | 161ms | 3.8ms | 100.2MB | 167ms | 27ms | deno 2.1.2 |
go | 1-m.go | 365ms | 2.1ms | 14.1MB | 707ms | 20ms | go 1.23.3 |
go | 1.go | 383ms | 2.4ms | 13.4MB | 367ms | 0ms | tinygo 0.34.0 |
go | 2-m.go | 412ms | 1.3ms | 14.1MB | 833ms | 33ms | go 1.23.3 |
go | 2.go | 634ms | 12ms | 29.7MB | 623ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 8.go | 1129ms | 4.6ms | 8.4MB | 1110ms | 7ms | go 1.23.3 |
typescript | 3.ts | timeout | 0.0ms | 99.9MB | 4970ms | 47ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 8.go | 272ms | 4.4ms | 8.4MB | 263ms | 0ms | go 1.23.3 |
typescript | 3.ts | 1308ms | 8.7ms | 79.9MB | 1253ms | 77ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 141ms | 1.8ms | 13.5MB | 130ms | 3ms | go 1.23.3 |
typescript | 1.ts | 1938ms | 1.3ms | 60.5MB | 1947ms | 10ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 0-ffi.go | 47ms | 0.4ms | 12.0MB | 37ms | 0ms | go 1.23.3 |
typescript | 1.ts | 522ms | 1.1ms | 60.2MB | 527ms | 10ms | deno 2.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1907ms | 17ms | 5.4MB | 7330ms | 10ms | go 1.23.3 |
go | 1.go | 3680ms | 35ms | 5.4MB | 3673ms | 0ms | go 1.23.3 |
typescript | 7.ts | 4067ms | 49ms | 60.3MB | 4053ms | 7ms | deno 2.1.2 |
go | 1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.34.0 |