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 |
---|---|---|---|---|---|---|---|
v | 1.v | 242ms | 1.9ms | 1.3MB | 230ms | 0ms | v/clang 0.4.9 |
v | 1.v | 257ms | 2.6ms | 2.1MB | 243ms | 0ms | v/clang+gc 0.4.9 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 714ms | 3.3ms | 1.3MB | 703ms | 0ms | v/clang 0.4.9 |
typescript | 2.ts | 724ms | 3.6ms | 72.6MB | 710ms | 23ms | deno 2.1.7 |
v | 1.v | 770ms | 30ms | 2.1MB | 753ms | 3ms | v/clang+gc 0.4.9 |
typescript | 1.ts | 1642ms | 22ms | 69.2MB | 1620ms | 17ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 89ms | 0.4ms | 1.4MB | 80ms | 0ms | v/clang 0.4.9 |
v | 1.v | 99ms | 0.7ms | 2.1MB | 90ms | 0ms | v/clang+gc 0.4.9 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 3.ts | timeout | 0.0ms | 101.8MB | 4970ms | 47ms | deno 2.1.7 |
v | 2.v | timeout | 0.0ms | 7.8MB | 4980ms | 7ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 802ms | 8.1ms | 2.6MB | 783ms | 3ms | v/clang+gc 0.4.9 |
typescript | 3.ts | 1287ms | 8.8ms | 78.6MB | 1237ms | 70ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 7.ts | 4038ms | 7.2ms | 56.5MB | 4023ms | 7ms | deno 2.1.7 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.9 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4987ms | 0ms | v/clang+gc 0.4.9 |