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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2.js | 293ms | 0.8ms | 66.6MB | 287ms | 7ms | node 23.5.0 |
1.js | 525ms | 5.8ms | 64.9MB | 510ms | 7ms | node 23.5.0 |
2.js | 601ms | 2.1ms | 122.1MB | 653ms | 43ms | bun 1.1.42 |
1.js | 777ms | 12ms | 106.0MB | 837ms | 80ms | bun 1.1.42 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.js | 4744ms | 21ms | 92.2MB | 4720ms | 30ms | node 23.5.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.js | 1030ms | 4.0ms | 74.8MB | 1017ms | 17ms | node 23.5.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
6-m.js | 2043ms | 5.4ms | 114.5MB | 7827ms | 53ms | node 23.5.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
6-m.js | 615ms | 5.5ms | 118.0MB | 2180ms | 43ms | node 23.5.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
6-m.js | 250ms | 4.8ms | 114.8MB | 770ms | 47ms | node 23.5.0 |