Current benchmark data was generated on Mon Dec 30 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 |
---|---|---|---|---|---|---|---|
dart | 1.dart | 710ms | 3.3ms | 80.8MB | 687ms | 27ms | dart/exe 3.6.0 |
javascript | 1-m.js | 948ms | 19ms | 199.4MB | 1457ms | 273ms | bun 1.1.42 |
javascript | 1-m.js | 1223ms | 9.8ms | 294.3MB | 2110ms | 150ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 79ms | 0.8ms | 42.6MB | 50ms | 17ms | dart/exe 3.6.0 |
javascript | 1.js | 96ms | 2.2ms | 78.6MB | 67ms | 33ms | bun 1.1.42 |
javascript | 1.js | 124ms | 2.0ms | 82.5MB | 120ms | 33ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 1578ms | 6.8ms | 94.6MB | 1660ms | 50ms | node 23.5.0 |
javascript | 1.js | 2195ms | 13ms | 99.3MB | 2210ms | 63ms | bun 1.1.42 |
dart | 1.dart | 4974ms | 18ms | 19.1MB | 5500ms | 80ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 154ms | 1.5ms | 76.7MB | 143ms | 17ms | node 23.5.0 |
javascript | 1.js | 181ms | 3.1ms | 85.1MB | 203ms | 27ms | bun 1.1.42 |
dart | 1.dart | 346ms | 6.0ms | 10.3MB | 340ms | 17ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 270ms | 2.7ms | 69.0MB | 283ms | 23ms | node 23.5.0 |
javascript | 1.js | 718ms | 5.1ms | 76.4MB | 690ms | 23ms | bun 1.1.42 |
dart | 1.dart | 3541ms | 8.7ms | 17.9MB | 3510ms | 27ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 125ms | 2.5ms | 65.6MB | 140ms | 13ms | node 23.5.0 |
javascript | 1.js | 524ms | 4.8ms | 66.2MB | 503ms | 13ms | bun 1.1.42 |
dart | 1.dart | 579ms | 6.0ms | 10.1MB | 560ms | 10ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 4.3ms | 0.2ms | 6.1MB | 0ms | 0ms | dart/exe 3.6.0 |
javascript | 1.js | 12ms | 0.6ms | 31.5MB | 10ms | 0ms | bun 1.1.42 |
javascript | 1.js | 31ms | 0.3ms | 51.9MB | 14ms | 6ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1-m.bun.js | 343ms | 27ms | 70.2MB | 127ms | 393ms | bun 1.1.42 |
dart | 2-m.dart | 1620ms | 266ms | 115.8MB | 1133ms | 1563ms | dart/exe 3.6.0 |
javascript | 1.js | 3271ms | 270ms | 197.4MB | 3033ms | 1503ms | node 23.5.0 |
dart | 1.dart | 4351ms | 139ms | 115.6MB | 1263ms | 1677ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.bun.js | 135ms | 29ms | 54.0MB | 27ms | 100ms | bun 1.1.42 |
dart | 2-m.dart | 315ms | 12ms | 50.1MB | 183ms | 300ms | dart/exe 3.6.0 |
javascript | 1.js | 390ms | 12ms | 85.4MB | 337ms | 130ms | node 23.5.0 |
dart | 1.dart | 1455ms | 187ms | 49.8MB | 147ms | 250ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 85ms | 8.1ms | 65.6MB | 53ms | 20ms | bun 1.1.42 |
javascript | 1.js | 109ms | 1.6ms | 79.3MB | 93ms | 23ms | node 23.5.0 |
dart | 1.dart | 164ms | 2.3ms | 53.5MB | 133ms | 20ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 385ms | 1.5ms | 206.9MB | 353ms | 73ms | bun 1.1.42 |
javascript | 1.js | 687ms | 1.9ms | 205.2MB | 787ms | 83ms | node 23.5.0 |
dart | 1.dart | 1464ms | 15ms | 300.2MB | 1517ms | 110ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 2.dart | 166ms | 1.7ms | 9.1MB | 153ms | 3ms | dart/exe 3.6.0 |
javascript | 2.js | 306ms | 0.5ms | 66.9MB | 300ms | 10ms | node 23.5.0 |
dart | 1.dart | 511ms | 2.3ms | 9.1MB | 490ms | 7ms | dart/exe 3.6.0 |
javascript | 1.js | 550ms | 5.0ms | 64.9MB | 537ms | 7ms | node 23.5.0 |
javascript | 2.js | 637ms | 6.3ms | 122.1MB | 687ms | 57ms | bun 1.1.42 |
javascript | 1.js | 815ms | 6.2ms | 105.9MB | 870ms | 90ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 2.dart | 479ms | 6.4ms | 9.1MB | 467ms | 0ms | dart/exe 3.6.0 |
javascript | 2.js | 843ms | 2.0ms | 72.7MB | 827ms | 20ms | node 23.5.0 |
dart | 1.dart | 1517ms | 2.0ms | 9.1MB | 1497ms | 10ms | dart/exe 3.6.0 |
javascript | 1.js | 1578ms | 7.3ms | 71.9MB | 1553ms | 20ms | node 23.5.0 |
javascript | 2.js | 1793ms | 11ms | 122.3MB | 1913ms | 83ms | bun 1.1.42 |
javascript | 1.js | 2334ms | 4.4ms | 105.9MB | 2607ms | 137ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 2.dart | 77ms | 1.3ms | 9.1MB | 70ms | 0ms | dart/exe 3.6.0 |
dart | 1.dart | 115ms | 1.9ms | 9.0MB | 103ms | 0ms | dart/exe 3.6.0 |
javascript | 1.js | 160ms | 1.3ms | 61.9MB | 153ms | 3ms | node 23.5.0 |
javascript | 2.js | 163ms | 0.4ms | 60.9MB | 163ms | 3ms | node 23.5.0 |
javascript | 1.js | 311ms | 3.7ms | 113.6MB | 340ms | 70ms | bun 1.1.42 |
javascript | 2.js | 357ms | 12ms | 125.4MB | 377ms | 57ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 328ms | 2.6ms | 63.6MB | 300ms | 27ms | dart/exe 3.6.0 |
javascript | 1-m.js | 499ms | 5.6ms | 135.9MB | 660ms | 127ms | bun 1.1.42 |
javascript | 1.js | 520ms | 3.2ms | 134.5MB | 603ms | 57ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 87ms | 2.1ms | 43.8MB | 67ms | 13ms | dart/exe 3.6.0 |
javascript | 1.js | 119ms | 0.9ms | 86.1MB | 100ms | 37ms | bun 1.1.42 |
javascript | 1.js | 156ms | 3.1ms | 102.3MB | 153ms | 33ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 3.dart | 408ms | 1.4ms | 6.3MB | 393ms | 0ms | dart/exe 3.6.0 |
javascript | 6.js | 455ms | 3.5ms | 59.6MB | 440ms | 7ms | node 23.5.0 |
javascript | 6.js | 659ms | 1.5ms | 44.6MB | 657ms | 7ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 3.dart | 46ms | 1.0ms | 6.1MB | 37ms | 0ms | dart/exe 3.6.0 |
javascript | 6.js | 76ms | 0.7ms | 59.8MB | 63ms | 7ms | node 23.5.0 |
javascript | 6.js | 87ms | 0.3ms | 44.6MB | 77ms | 7ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 2480ms | 11ms | 64.4MB | 2493ms | 10ms | node 23.5.0 |
javascript | 1.js | 2760ms | 36ms | 83.0MB | 2793ms | 37ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 657ms | 7.0ms | 61.8MB | 663ms | 13ms | node 23.5.0 |
javascript | 1.js | 718ms | 2.9ms | 82.6MB | 703ms | 37ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 2.dart | 1234ms | 1.9ms | 14.6MB | 1203ms | 33ms | dart/exe 3.6.0 |
javascript | 3.js | timeout | 0.0ms | 92.1MB | 4983ms | 23ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 2.dart | 316ms | 3.5ms | 14.8MB | 297ms | 13ms | dart/exe 3.6.0 |
javascript | 3.js | 1085ms | 5.9ms | 74.8MB | 1063ms | 17ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 6-m.js | 2147ms | 4.1ms | 116.2MB | 8220ms | 60ms | node 23.5.0 |
dart | 1.dart | 3755ms | 29ms | 6.3MB | 3740ms | 0ms | dart/exe 3.6.0 |
dart | 2.dart | 4360ms | 24ms | 6.5MB | 4350ms | 0ms | dart/exe 3.6.0 |