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 |
---|---|---|---|---|---|---|---|
v | 1-m.v | 737ms | 12ms | 10.3MB | 483ms | 1447ms | v/clang+gc 0.4.4 |
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 |
---|---|---|---|---|---|---|---|
v | 1-m.v | 129ms | 10ms | 11.3MB | 70ms | 243ms | v/clang+gc 0.4.4 |
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 |
---|---|---|---|---|---|---|---|
v | 1.v | 251ms | 3.2ms | 1.4MB | 240ms | 0ms | v/clang 0.4.4 |
v | 1.v | 261ms | 2.8ms | 2.3MB | 250ms | 0ms | v/clang+gc 0.4.4 |
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 |
---|---|---|---|---|---|---|---|
typescript | 2.ts | 719ms | 8.2ms | 72.2MB | 720ms | 13ms | deno 1.40.2 |
v | 1.v | 757ms | 3.5ms | 1.3MB | 750ms | 0ms | v/clang 0.4.4 |
v | 1.v | 769ms | 3.9ms | 2.3MB | 757ms | 0ms | v/clang+gc 0.4.4 |
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 |
---|---|---|---|---|---|---|---|
v | 1.v | 91ms | 0.5ms | 1.3MB | 80ms | 0ms | v/clang 0.4.4 |
v | 1.v | 100ms | 2.0ms | 2.1MB | 90ms | 0ms | v/clang+gc 0.4.4 |
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 | 3.ts | timeout | 0.0ms | 100.6MB | 4977ms | 53ms | deno 1.40.2 |
v | 2.v | timeout | 0.0ms | 3.5MB | 4983ms | 7ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 3.ts | 1268ms | 11ms | 86.3MB | 1210ms | 73ms | deno 1.40.2 |
v | 2.v | 1784ms | 29ms | 3.0MB | 1770ms | 3ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 7.ts | 4066ms | 156ms | 59.5MB | 4050ms | 13ms | deno 1.40.2 |
v | 1.v | timeout | 0.0ms | 1.8MB | 4990ms | 0ms | v/clang 0.4.4 |
v | 1.v | timeout | 0.0ms | 3.0MB | 4987ms | 0ms | v/clang+gc 0.4.4 |