Current benchmark data was generated on Sat Nov 16 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 |
---|---|---|---|---|---|---|---|
javascript | 1-m.js | 903ms | 17ms | 180.1MB | 1383ms | 233ms | bun 1.1.34 |
javascript | 1-m.js | 1225ms | 4.9ms | 273.0MB | 2117ms | 157ms | node 23.1.0 |
odin | 1.odin | 2340ms | 23ms | 49.5MB | 2310ms | 13ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 96ms | 1.8ms | 78.3MB | 77ms | 23ms | bun 1.1.34 |
javascript | 1.js | 127ms | 2.5ms | 82.5MB | 130ms | 23ms | node 23.1.0 |
odin | 1.odin | 219ms | 0.7ms | 7.5MB | 210ms | 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.6MB | 0ms | 0ms | odin 2024 |
javascript | 1.js | 13ms | 0.6ms | 31.4MB | 0ms | 0ms | bun 1.1.34 |
javascript | 1.js | 30ms | 0.1ms | 52.1MB | 10ms | 10ms | node 23.1.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 162ms | 12ms | 1.6MB | 150ms | 0ms | odin 2024 |
javascript | 2.js | 311ms | 2.2ms | 66.6MB | 307ms | 7ms | node 23.1.0 |
javascript | 1.js | 552ms | 1.4ms | 64.7MB | 533ms | 13ms | node 23.1.0 |
javascript | 2.js | 638ms | 4.6ms | 121.9MB | 677ms | 63ms | bun 1.1.34 |
javascript | 1.js | 895ms | 5.4ms | 106.0MB | 977ms | 80ms | bun 1.1.34 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 457ms | 5.4ms | 1.6MB | 447ms | 0ms | odin 2024 |
javascript | 2.js | 837ms | 0.9ms | 72.4MB | 820ms | 20ms | node 23.1.0 |
javascript | 1.js | 1581ms | 6.1ms | 71.6MB | 1560ms | 13ms | node 23.1.0 |
javascript | 2.js | 1815ms | 3.6ms | 122.4MB | 1950ms | 77ms | bun 1.1.34 |
javascript | 1.js | 2584ms | 10ms | 106.1MB | 2877ms | 143ms | bun 1.1.34 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 70ms | 1.7ms | 1.6MB | 63ms | 0ms | odin 2024 |
javascript | 1.js | 162ms | 1.3ms | 61.7MB | 143ms | 13ms | node 23.1.0 |
javascript | 2.js | 165ms | 1.4ms | 60.3MB | 157ms | 3ms | node 23.1.0 |
javascript | 1.js | 326ms | 3.6ms | 114.6MB | 360ms | 67ms | bun 1.1.34 |
javascript | 2.js | 348ms | 4.1ms | 125.6MB | 360ms | 57ms | bun 1.1.34 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 353ms | 1.7ms | 1.5MB | 340ms | 0ms | odin 2024 |
odin | 1-i.odin | 355ms | 1.2ms | 1.5MB | 340ms | 0ms | odin 2024 |
javascript | 6.js | 454ms | 4.7ms | 59.9MB | 437ms | 7ms | node 23.1.0 |
javascript | 6.js | 659ms | 2.2ms | 44.6MB | 650ms | 7ms | bun 1.1.34 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 37ms | 0.5ms | 1.5MB | 27ms | 0ms | odin 2024 |
odin | 1-i.odin | 38ms | 0.6ms | 1.5MB | 30ms | 0ms | odin 2024 |
javascript | 6.js | 77ms | 1.1ms | 60.1MB | 70ms | 3ms | node 23.1.0 |
javascript | 6.js | 85ms | 1.3ms | 44.8MB | 77ms | 3ms | bun 1.1.34 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 6-m.js | 2158ms | 16ms | 114.9MB | 8220ms | 57ms | node 23.1.0 |
odin | 1.odin | 3586ms | 7.2ms | 2.9MB | 3573ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 6-m.js | 643ms | 8.4ms | 118.0MB | 2277ms | 40ms | node 23.1.0 |
odin | 1.odin | 904ms | 9.0ms | 2.3MB | 893ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 227ms | 1.7ms | 1.9MB | 220ms | 0ms | odin 2024 |
javascript | 6-m.js | 264ms | 1.9ms | 113.5MB | 810ms | 43ms | node 23.1.0 |