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 |
---|---|---|---|---|---|---|---|
typescript | 1-m.ts | 1259ms | 9.0ms | 249.6MB | 2227ms | 137ms | deno 2.1.7 |
odin | 1.odin | 2328ms | 19ms | 49.5MB | 2293ms | 20ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 1.ts | 125ms | 1.2ms | 81.3MB | 117ms | 37ms | deno 2.1.7 |
odin | 1.odin | 230ms | 20ms | 7.5MB | 220ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 1.2ms | 0.1ms | 1.5MB | 0ms | 0ms | odin 2024 |
typescript | 1.ts | 29ms | 3.7ms | 47.2MB | 6ms | 8ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 145ms | 1.9ms | 1.6MB | 133ms | 0ms | odin 2024 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 429ms | 5.3ms | 1.8MB | 420ms | 0ms | odin 2024 |
typescript | 2.ts | 724ms | 3.6ms | 72.6MB | 710ms | 23ms | deno 2.1.7 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 66ms | 0.6ms | 1.6MB | 57ms | 0ms | odin 2024 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 3586ms | 3.8ms | 2.9MB | 3577ms | 0ms | odin 2024 |
typescript | 7.ts | 4038ms | 7.2ms | 56.5MB | 4023ms | 7ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 899ms | 1.8ms | 2.3MB | 887ms | 0ms | odin 2024 |
typescript | 7.ts | 1032ms | 7.5ms | 57.3MB | 1017ms | 10ms | deno 2.1.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 227ms | 0.7ms | 1.9MB | 213ms | 0ms | odin 2024 |
typescript | 7.ts | 286ms | 2.2ms | 56.6MB | 270ms | 10ms | deno 2.1.7 |