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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1-m.js | 934ms | 12ms | 179.4MB | 1463ms | 247ms | bun 1.1.38 |
javascript | 1-m.js | 1245ms | 11ms | 292.8MB | 2167ms | 173ms | node 23.3.0 |
swift | 1.swift | 2834ms | 94ms | 54.3MB | 2803ms | 13ms | swift 6.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 95ms | 0.9ms | 78.8MB | 67ms | 30ms | bun 1.1.38 |
javascript | 1.js | 124ms | 1.3ms | 82.1MB | 123ms | 20ms | node 23.3.0 |
swift | 1.swift | 229ms | 2.2ms | 12.5MB | 217ms | 0ms | swift 6.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 1.swift | 2.7ms | 0.3ms | 6.3MB | 0ms | 0ms | swift 6.0.2 |
javascript | 1.js | 12ms | 0.4ms | 31.8MB | 0ms | 10ms | bun 1.1.38 |
javascript | 1.js | 31ms | 0.3ms | 51.9MB | 16ms | 4ms | node 23.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 7.swift | 347ms | 7.9ms | 10.0MB | 333ms | 0ms | swift 6.0.2 |
javascript | 6.js | 460ms | 5.9ms | 59.6MB | 447ms | 7ms | node 23.3.0 |
javascript | 6.js | 672ms | 15ms | 44.9MB | 667ms | 3ms | bun 1.1.38 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 7.swift | 41ms | 0.1ms | 10.1MB | 30ms | 0ms | swift 6.0.2 |
javascript | 6.js | 77ms | 1.7ms | 59.5MB | 67ms | 3ms | node 23.3.0 |
javascript | 6.js | 87ms | 1.8ms | 44.9MB | 80ms | 10ms | bun 1.1.38 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 3.js | 4746ms | 11ms | 91.6MB | 4717ms | 33ms | node 23.3.0 |
swift | 1.swift | timeout | 0.0ms | 7.5MB | 4933ms | 53ms | swift 6.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 3.js | 1029ms | 1.4ms | 74.0MB | 1013ms | 17ms | node 23.3.0 |
swift | 1.swift | 1947ms | 10ms | 7.3MB | 1933ms | 0ms | swift 6.0.2 |