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 |
---|---|---|---|---|---|---|---|
typescript | 1-m.ts | 1206ms | 14ms | 253.0MB | 2110ms | 143ms | deno 2.1.4 |
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 |
---|---|---|---|---|---|---|---|
typescript | 1.ts | 120ms | 0.9ms | 82.3MB | 117ms | 30ms | deno 2.1.4 |
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 | 3-m.swift | 135ms | 5.7ms | 24.6MB | 367ms | 7ms | swift 6.0.3 |
typescript | 1.ts | 1978ms | 8.0ms | 62.4MB | 1837ms | 150ms | deno 2.1.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 3.swift | 35ms | 0.4ms | 18.3MB | 33ms | 0ms | swift 6.0.3 |
typescript | 1.ts | 230ms | 6.3ms | 61.2MB | 203ms | 27ms | deno 2.1.4 |
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 |
typescript | 1.ts | 25ms | 0.5ms | 48.1MB | 8ms | 2ms | deno 2.1.4 |
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 |
typescript | 6.ts | 449ms | 12ms | 57.7MB | 433ms | 3ms | deno 2.1.4 |
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 |
typescript | 6.ts | 73ms | 0.2ms | 59.1MB | 60ms | 7ms | deno 2.1.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 1.swift | timeout | 0.0ms | 7.4MB | 4913ms | 70ms | swift 6.0.3 |
typescript | 3.ts | timeout | 0.0ms | 100.8MB | 4980ms | 33ms | deno 2.1.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
typescript | 3.ts | 1225ms | 9.4ms | 78.9MB | 1187ms | 57ms | deno 2.1.4 |
swift | 1.swift | 1766ms | 11ms | 6.9MB | 1753ms | 0ms | swift 6.0.3 |