Current benchmark data was generated on Mon Apr 14 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 | 254ms | 2.2ms | 1.3MB | 243ms | 0ms | v/clang 0.4.10 |
v | 1.v | 264ms | 9.7ms | 2.1MB | 257ms | 0ms | v/clang+gc 0.4.10 |
typescript | 2.ts | 277ms | 1.9ms | 62.1MB | 267ms | 17ms | deno 2.2.9 |
typescript | 1.ts | 580ms | 4.5ms | 61.1MB | 560ms | 13ms | deno 2.2.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 2.ts | 748ms | 4.0ms | 70.2MB | 733ms | 20ms | deno 2.2.9 |
v | 1.v | 753ms | 8.3ms | 1.5MB | 743ms | 0ms | v/clang 0.4.10 |
v | 1.v | 770ms | 12ms | 2.1MB | 760ms | 0ms | v/clang+gc 0.4.10 |
typescript | 1.ts | 1664ms | 5.6ms | 67.6MB | 1640ms | 13ms | deno 2.2.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 90ms | 2.2ms | 1.3MB | 83ms | 0ms | v/clang 0.4.10 |
v | 1.v | 100ms | 1.2ms | 2.1MB | 90ms | 0ms | v/clang+gc 0.4.10 |
typescript | 2.ts | 143ms | 2.0ms | 58.4MB | 133ms | 10ms | deno 2.2.9 |
typescript | 1.ts | 175ms | 2.4ms | 56.8MB | 163ms | 10ms | deno 2.2.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 3232ms | 64ms | 3.4MB | 3210ms | 10ms | v/clang+gc 0.4.10 |
typescript | 3.ts | 4928ms | 16ms | 133.1MB | 4820ms | 150ms | deno 2.2.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 795ms | 37ms | 2.6MB | 780ms | 0ms | v/clang+gc 0.4.10 |
typescript | 3.ts | 1131ms | 3.5ms | 77.1MB | 1083ms | 67ms | deno 2.2.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 7.ts | 4033ms | 4.4ms | 54.0MB | 4017ms | 10ms | deno 2.2.9 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.10 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4990ms | 0ms | v/clang+gc 0.4.10 |