Current benchmark data was generated on Sun Dec 01 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 |
---|---|---|---|---|---|---|
1-m.bun.js | 352ms | 14ms | 69.3MB | 150ms | 410ms | bun 1.1.38 |
1.js | 3204ms | 115ms | 184.7MB | 3040ms | 1450ms | node 23.3.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2.js | 307ms | 1.5ms | 66.6MB | 293ms | 17ms | node 23.3.0 |
1.js | 556ms | 4.1ms | 64.6MB | 543ms | 7ms | node 23.3.0 |
2.js | 654ms | 2.5ms | 122.6MB | 690ms | 73ms | bun 1.1.38 |
1.js | 879ms | 2.7ms | 110.8MB | 957ms | 87ms | bun 1.1.38 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.js | 4746ms | 11ms | 91.6MB | 4717ms | 33ms | node 23.3.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.js | 1029ms | 1.4ms | 74.0MB | 1013ms | 17ms | node 23.3.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
6-m.js | 2167ms | 20ms | 117.7MB | 8173ms | 63ms | node 23.3.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
6-m.js | 643ms | 4.2ms | 117.0MB | 2300ms | 43ms | node 23.3.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
6-m.js | 262ms | 0.7ms | 112.9MB | 813ms | 47ms | node 23.3.0 |