Current benchmark data was generated on Mon Mar 31 2025, 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 |
---|---|---|---|---|---|---|---|
python | 1.py | 1852ms | 1.6ms | 88.8MB | 1807ms | 30ms | pypy 3.10.16 |
python | 5-m.py | 2282ms | 30ms | 65.4MB | 3493ms | 843ms | pypy 3.10.16 |
python | 5-m.py | 2455ms | 13ms | 12.5MB | 3537ms | 1010ms | pyston 3.8.12 |
python | 1.py | 3017ms | 14ms | 8.1MB | 3007ms | 0ms | pyston 3.8.12 |
python | 5-m.py | 3351ms | 11ms | 13.5MB | 4443ms | 913ms | cpython 3.13.2 |
python | 1.py | 4656ms | 26ms | 8.8MB | 4640ms | 0ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 1.py | 251ms | 5.7ms | 63.3MB | 223ms | 13ms | pypy 3.10.16 |
python | 5-m.py | 311ms | 1.4ms | 12.4MB | 393ms | 143ms | pyston 3.8.12 |
python | 1.py | 318ms | 0.3ms | 8.1MB | 310ms | 0ms | pyston 3.8.12 |
python | 5-m.py | 397ms | 5.6ms | 13.6MB | 480ms | 133ms | cpython 3.13.2 |
python | 5-m.py | 445ms | 6.3ms | 65.4MB | 737ms | 310ms | pypy 3.10.16 |
python | 1.py | 488ms | 7.2ms | 8.6MB | 477ms | 0ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 1.c | 1.1ms | 0.1ms | 1.4MB | 0ms | 0ms | zigcc 0.14.0 |
c | 1.c | 1.3ms | 0.1ms | 2.1MB | 0ms | 0ms | gcc 14.2.0 |
c | 1.c | 1.3ms | 0.0ms | 2.1MB | 0ms | 0ms | clang 14.0.0-1ubuntu1.1 |
python | 1.py | 11ms | 0.5ms | 7.6MB | 0ms | 0ms | pyston 3.8.12 |
python | 1.py | 14ms | 1.0ms | 8.6MB | 10ms | 0ms | cpython 3.13.2 |
python | 1.py | 29ms | 1.1ms | 51.6MB | 10ms | 10ms | pypy 3.10.16 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 1-m.c | 175ms | 4.6ms | 23.9MB | 417ms | 3ms | gcc 14.2.0 |
c | 1-m.c | 288ms | 1.1ms | 25.8MB | 987ms | 23ms | clang 14.0.0-1ubuntu1.1 |
python | 3-m.py | 2435ms | 14ms | 136.4MB | 8277ms | 343ms | pypy 3.10.16 |
python | 3-m.py | 3135ms | 60ms | 34.3MB | 11840ms | 123ms | pyston 3.8.12 |
python | 3.py | timeout | 0.0ms | 35.6MB | 93ms | 20ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 1-m.c | 27ms | 0.7ms | 12.0MB | 67ms | 0ms | gcc 14.2.0 |
c | 1-m.c | 36ms | 2.3ms | 15.0MB | 103ms | 0ms | clang 14.0.0-1ubuntu1.1 |
python | 3-m.py | 389ms | 1.1ms | 75.7MB | 983ms | 170ms | pypy 3.10.16 |
python | 3-m.py | 393ms | 4.9ms | 14.2MB | 1303ms | 70ms | pyston 3.8.12 |
python | 3-m.py | 634ms | 4.3ms | 15.1MB | 2240ms | 53ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 2.py | 144ms | 0.5ms | 58.3MB | 120ms | 10ms | pypy 3.10.16 |
python | 1.py | 179ms | 2.6ms | 59.4MB | 157ms | 10ms | pypy 3.10.16 |
python | 1.py | 719ms | 5.8ms | 8.9MB | 707ms | 0ms | pyston 3.8.12 |
python | 2.py | 833ms | 11ms | 8.5MB | 820ms | 0ms | pyston 3.8.12 |
python | 1.py | 1138ms | 4.4ms | 9.4MB | 1127ms | 0ms | cpython 3.13.2 |
python | 2.py | 1348ms | 40ms | 9.0MB | 1337ms | 0ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 2.py | 338ms | 2.7ms | 59.3MB | 320ms | 3ms | pypy 3.10.16 |
python | 1.py | 380ms | 6.1ms | 60.3MB | 353ms | 10ms | pypy 3.10.16 |
python | 1.py | 2132ms | 18ms | 8.9MB | 2123ms | 0ms | pyston 3.8.12 |
python | 2.py | 2501ms | 6.7ms | 8.5MB | 2490ms | 0ms | pyston 3.8.12 |
python | 1.py | 3370ms | 28ms | 9.4MB | 3357ms | 0ms | cpython 3.13.2 |
python | 2.py | 3950ms | 27ms | 9.0MB | 3937ms | 0ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 2.py | 106ms | 5.2ms | 57.9MB | 83ms | 10ms | pypy 3.10.16 |
python | 1.py | 122ms | 1.9ms | 58.7MB | 100ms | 10ms | pypy 3.10.16 |
python | 1.py | 348ms | 6.0ms | 8.5MB | 333ms | 0ms | pyston 3.8.12 |
python | 2.py | 387ms | 2.2ms | 8.1MB | 373ms | 0ms | pyston 3.8.12 |
python | 1.py | 539ms | 4.9ms | 9.0MB | 523ms | 0ms | cpython 3.13.2 |
python | 2.py | 634ms | 5.0ms | 8.6MB | 623ms | 0ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 8-i.c | 273ms | 4.4ms | 1.5MB | 263ms | 0ms | zigcc 0.14.0 |
c | 8-i.c | 302ms | 1.2ms | 2.1MB | 293ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 2.c | 311ms | 1.2ms | 2.3MB | 300ms | 0ms | gcc 14.2.0 |
c | 5.c | 314ms | 1.5ms | 2.3MB | 300ms | 0ms | gcc 14.2.0 |
c | 2.c | 315ms | 1.9ms | 1.5MB | 310ms | 0ms | zigcc 0.14.0 |
c | 5.c | 316ms | 0.5ms | 2.1MB | 307ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 5.c | 316ms | 1.1ms | 1.5MB | 310ms | 0ms | zigcc 0.14.0 |
c | 2.c | 318ms | 2.1ms | 2.1MB | 310ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 8-i.c | 332ms | 0.8ms | 2.3MB | 323ms | 0ms | gcc 14.2.0 |
python | 2.py | 1353ms | 7.7ms | 60.3MB | 1330ms | 10ms | pypy 3.10.16 |
python | 1.py | 2647ms | 8.4ms | 57.2MB | 2623ms | 10ms | pypy 3.10.16 |
python | 1.py | timeout | 0.0ms | 8.6MB | 4990ms | 0ms | cpython 3.13.2 |
python | 2.py | timeout | 0.0ms | 8.8MB | 4990ms | 0ms | cpython 3.13.2 |
python | 1.py | timeout | 0.0ms | 8.3MB | 4990ms | 0ms | pyston 3.8.12 |
python | 2.py | timeout | 0.0ms | 8.1MB | 4990ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 8-i.c | 29ms | 0.4ms | 1.5MB | 20ms | 0ms | zigcc 0.14.0 |
c | 8-i.c | 33ms | 0.5ms | 2.1MB | 27ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 2.c | 34ms | 1.0ms | 1.5MB | 30ms | 0ms | zigcc 0.14.0 |
c | 5.c | 34ms | 0.5ms | 2.3MB | 30ms | 0ms | gcc 14.2.0 |
c | 2.c | 34ms | 1.0ms | 2.3MB | 27ms | 0ms | gcc 14.2.0 |
c | 5.c | 34ms | 0.6ms | 2.1MB | 30ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 5.c | 34ms | 0.5ms | 1.5MB | 30ms | 0ms | zigcc 0.14.0 |
c | 8-i.c | 36ms | 0.1ms | 2.3MB | 30ms | 0ms | gcc 14.2.0 |
c | 2.c | 37ms | 2.6ms | 2.1MB | 30ms | 0ms | clang 14.0.0-1ubuntu1.1 |
python | 2.py | 182ms | 1.3ms | 58.1MB | 160ms | 10ms | pypy 3.10.16 |
python | 1.py | 299ms | 2.7ms | 57.1MB | 280ms | 10ms | pypy 3.10.16 |
python | 1.py | 932ms | 16ms | 8.3MB | 920ms | 0ms | pyston 3.8.12 |
python | 2.py | 1282ms | 11ms | 8.3MB | 1270ms | 0ms | pyston 3.8.12 |
python | 1.py | 2968ms | 4.6ms | 8.8MB | 2953ms | 0ms | cpython 3.13.2 |
python | 2.py | 3214ms | 99ms | 8.8MB | 3200ms | 0ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 1.c | 252ms | 2.1ms | 41.0MB | 237ms | 0ms | gcc 14.2.0 |
c | 1.c | 268ms | 1.9ms | 40.2MB | 250ms | 0ms | zigcc 0.14.0 |
c | 1.c | 269ms | 5.7ms | 40.9MB | 250ms | 3ms | clang 14.0.0-1ubuntu1.1 |
python | 1.py | 2527ms | 58ms | 369.5MB | 2457ms | 57ms | pypy 3.10.16 |
python | 2.py | 3022ms | 8.2ms | 633.0MB | 2873ms | 137ms | pyston 3.8.12 |
python | 1.py | 4719ms | 120ms | 320.4MB | 4657ms | 50ms | pyston 3.8.12 |
python | 1.py | timeout | 0.0ms | 321.1MB | 4960ms | 27ms | cpython 3.13.2 |
python | 2.py | timeout | 0.0ms | 633.6MB | 4843ms | 143ms | cpython 3.13.2 |
python | 2.py | timeout | 0.0ms | 959.8MB | 4730ms | 260ms | pypy 3.10.16 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 1.c | 49ms | 1.1ms | 11.6MB | 40ms | 0ms | gcc 14.2.0 |
c | 1.c | 53ms | 2.9ms | 11.5MB | 40ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 1.c | 57ms | 3.1ms | 11.0MB | 47ms | 0ms | zigcc 0.14.0 |
python | 1.py | 524ms | 3.5ms | 135.2MB | 490ms | 20ms | pypy 3.10.16 |
python | 2.py | 734ms | 1.6ms | 164.2MB | 697ms | 27ms | pyston 3.8.12 |
python | 1.py | 1045ms | 7.6ms | 86.0MB | 1023ms | 10ms | pyston 3.8.12 |
python | 2.py | 1423ms | 16ms | 164.8MB | 1380ms | 30ms | cpython 3.13.2 |
python | 2.py | 1530ms | 19ms | 290.2MB | 1440ms | 77ms | pypy 3.10.16 |
python | 1.py | 2661ms | 20ms | 86.8MB | 2640ms | 10ms | cpython 3.13.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 6-im.c | 951ms | 9.5ms | 2.0MB | 3740ms | 0ms | gcc 14.2.0 |
c | 4-m.c | 968ms | 1.5ms | 2.0MB | 3803ms | 0ms | gcc 14.2.0 |
c | 6-im.c | 1003ms | 0.8ms | 3.3MB | 3940ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 5-im.c | 1089ms | 3.6ms | 2.0MB | 4287ms | 3ms | gcc 14.2.0 |
c | 4-m.c | 1129ms | 14ms | 3.3MB | 4427ms | 7ms | clang 14.0.0-1ubuntu1.1 |
c | 5-im.c | 1335ms | 7.2ms | 3.3MB | 5240ms | 7ms | clang 14.0.0-1ubuntu1.1 |
c | 3-m.c | 1849ms | 16ms | 3.4MB | 7250ms | 20ms | clang 14.0.0-1ubuntu1.1 |
c | 3-m.c | 1980ms | 13ms | 2.0MB | 7780ms | 3ms | gcc 14.2.0 |
python | 8.py | timeout | 0.0ms | 14.9MB | 40ms | 10ms | cpython 3.13.2 |
python | 8.py | timeout | 0.0ms | 95.4MB | 790ms | 77ms | pypy 3.10.16 |
python | 8.py | timeout | 0.0ms | 14.2MB | 37ms | 13ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 6-im.c | 248ms | 5.1ms | 2.0MB | 953ms | 0ms | gcc 14.2.0 |
c | 4-m.c | 253ms | 1.6ms | 2.0MB | 967ms | 0ms | gcc 14.2.0 |
c | 6-im.c | 259ms | 1.4ms | 3.3MB | 990ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 5-im.c | 290ms | 15ms | 2.0MB | 1103ms | 0ms | gcc 14.2.0 |
c | 4-m.c | 294ms | 9.2ms | 3.3MB | 1117ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 5-im.c | 351ms | 17ms | 3.4MB | 1333ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 3-m.c | 468ms | 7.2ms | 3.3MB | 1807ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 3-m.c | 496ms | 2.9ms | 2.0MB | 1933ms | 0ms | gcc 14.2.0 |
python | 8.py | timeout | 0.0ms | 14.4MB | 43ms | 10ms | cpython 3.13.2 |
python | 8.py | timeout | 0.0ms | 96.7MB | 1313ms | 177ms | pypy 3.10.16 |
python | 8.py | timeout | 0.0ms | 13.7MB | 53ms | 20ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
c | 4-m.c | 71ms | 0.5ms | 2.1MB | 257ms | 0ms | gcc 14.2.0 |
c | 6-im.c | 73ms | 2.6ms | 3.3MB | 250ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 6-im.c | 73ms | 6.2ms | 2.0MB | 257ms | 0ms | gcc 14.2.0 |
c | 4-m.c | 78ms | 0.7ms | 3.1MB | 280ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 5-im.c | 80ms | 0.7ms | 2.0MB | 287ms | 0ms | gcc 14.2.0 |
c | 5-im.c | 93ms | 0.7ms | 3.3MB | 330ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 3-m.c | 124ms | 1.1ms | 3.1MB | 453ms | 0ms | clang 14.0.0-1ubuntu1.1 |
c | 3-m.c | 131ms | 0.9ms | 2.0MB | 490ms | 0ms | gcc 14.2.0 |
python | 8-m.py | 1974ms | 19ms | 92.9MB | 6383ms | 260ms | pypy 3.10.16 |
python | 8.py | timeout | 0.0ms | 14.0MB | 90ms | 20ms | cpython 3.13.2 |
python | 8.py | timeout | 0.0ms | 13.1MB | 123ms | 37ms | pyston 3.8.12 |