Current benchmark data was generated on Tue Dec 31 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 | 867ms | 11ms | 178.1MB | 1290ms | 257ms | bun 1.1.42 |
javascript | 1-m.js | 1182ms | 24ms | 293.5MB | 2050ms | 133ms | node 23.5.0 |
odin | 1.odin | 2227ms | 80ms | 49.5MB | 2193ms | 17ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 91ms | 0.7ms | 78.5MB | 70ms | 23ms | bun 1.1.42 |
javascript | 1.js | 117ms | 2.5ms | 82.6MB | 117ms | 23ms | node 23.5.0 |
odin | 1.odin | 207ms | 1.9ms | 7.5MB | 193ms | 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 | 12ms | 0.4ms | 32.1MB | 10ms | 0ms | bun 1.1.42 |
javascript | 1.js | 29ms | 1.3ms | 51.9MB | 14ms | 4ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 140ms | 1.6ms | 1.6MB | 130ms | 0ms | odin 2024 |
javascript | 2.js | 293ms | 0.8ms | 66.6MB | 287ms | 7ms | node 23.5.0 |
javascript | 1.js | 525ms | 5.8ms | 64.9MB | 510ms | 7ms | node 23.5.0 |
javascript | 2.js | 601ms | 2.1ms | 122.1MB | 653ms | 43ms | bun 1.1.42 |
javascript | 1.js | 777ms | 12ms | 106.0MB | 837ms | 80ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 408ms | 6.4ms | 1.6MB | 397ms | 0ms | odin 2024 |
javascript | 2.js | 794ms | 4.4ms | 72.4MB | 787ms | 10ms | node 23.5.0 |
javascript | 1.js | 1492ms | 4.6ms | 71.9MB | 1477ms | 10ms | node 23.5.0 |
javascript | 2.js | 1695ms | 15ms | 122.4MB | 1797ms | 83ms | bun 1.1.42 |
javascript | 1.js | 2217ms | 20ms | 109.6MB | 2460ms | 150ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 64ms | 1.7ms | 1.6MB | 53ms | 0ms | odin 2024 |
javascript | 1.js | 150ms | 0.6ms | 62.0MB | 137ms | 3ms | node 23.5.0 |
javascript | 2.js | 156ms | 3.5ms | 60.9MB | 150ms | 7ms | node 23.5.0 |
javascript | 1.js | 298ms | 3.3ms | 113.8MB | 330ms | 67ms | bun 1.1.42 |
javascript | 2.js | 327ms | 2.1ms | 125.6MB | 343ms | 50ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 332ms | 2.6ms | 1.5MB | 323ms | 0ms | odin 2024 |
odin | 1-i.odin | 338ms | 4.3ms | 1.5MB | 327ms | 0ms | odin 2024 |
javascript | 6.js | 442ms | 11ms | 59.8MB | 427ms | 7ms | node 23.5.0 |
javascript | 6.js | 628ms | 10ms | 44.6MB | 627ms | 3ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1-i.odin | 36ms | 0.1ms | 1.5MB | 30ms | 0ms | odin 2024 |
odin | 1.odin | 37ms | 0.6ms | 1.5MB | 30ms | 0ms | odin 2024 |
javascript | 6.js | 72ms | 1.0ms | 59.9MB | 57ms | 3ms | node 23.5.0 |
javascript | 6.js | 82ms | 1.6ms | 44.8MB | 83ms | 3ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 6-m.js | 2043ms | 5.4ms | 114.5MB | 7827ms | 53ms | node 23.5.0 |
odin | 1.odin | 3403ms | 22ms | 2.9MB | 3390ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 6-m.js | 615ms | 5.5ms | 118.0MB | 2180ms | 43ms | node 23.5.0 |
odin | 1.odin | 846ms | 8.4ms | 2.3MB | 837ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 216ms | 3.1ms | 1.9MB | 207ms | 0ms | odin 2024 |
javascript | 6-m.js | 250ms | 4.8ms | 114.8MB | 770ms | 47ms | node 23.5.0 |