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 |
swift | 1.swift | 2431ms | 13ms | 54.0MB | 2407ms | 7ms | swift 6.0.3 |
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 |
swift | 1.swift | 222ms | 2.8ms | 11.8MB | 210ms | 0ms | swift 6.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 1.swift | 2.4ms | 0.2ms | 6.0MB | 0ms | 0ms | swift 6.0.3 |
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 |
---|---|---|---|---|---|---|---|
swift | 7.swift | 329ms | 4.6ms | 9.6MB | 317ms | 0ms | swift 6.0.3 |
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 |
---|---|---|---|---|---|---|---|
swift | 7.swift | 37ms | 0.6ms | 9.8MB | 23ms | 0ms | swift 6.0.3 |
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 | 3.js | 4744ms | 21ms | 92.2MB | 4720ms | 30ms | node 23.5.0 |
swift | 1.swift | timeout | 0.0ms | 7.4MB | 4913ms | 70ms | swift 6.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 3.js | 1030ms | 4.0ms | 74.8MB | 1017ms | 17ms | node 23.5.0 |
swift | 1.swift | 1766ms | 11ms | 6.9MB | 1753ms | 0ms | swift 6.0.3 |