Current benchmark data was generated on Fri May 20 2022, 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 |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 1614ms | 6.4ms | 64.4MB | 1927ms | 20ms | crystal 1.4.1 |
python | 1.py | 1667ms | 61ms | 273.7MB | 1530ms | 110ms | pypy 3.8.13 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 1.py | 128ms | 2.2ms | 82.9MB | 83ms | 20ms | pypy 3.8.13 |
crystal | 1.cr | 138ms | 0.3ms | 11.0MB | 143ms | 0ms | crystal 1.4.1 |
python | 1.py | 641ms | 4.3ms | 12.3MB | 610ms | 13ms | pyston 3.8.12 |
python | 1.py | 1532ms | 2.7ms | 11.8MB | 1517ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 1.py | 1216ms | 5.5ms | 196.8MB | 1140ms | 60ms | pypy 3.8.13 |
crystal | 1.cr | 1979ms | 40ms | 20.5MB | 1940ms | 23ms | crystal 1.4.1 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 111ms | 1.9ms | 7.6MB | 97ms | 3ms | crystal 1.4.1 |
python | 1.py | 293ms | 12ms | 95.1MB | 257ms | 17ms | pypy 3.8.13 |
python | 1.py | 965ms | 4.9ms | 17.2MB | 947ms | 3ms | pyston 3.8.12 |
python | 1.py | 1003ms | 35ms | 17.1MB | 967ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 84ms | 3.2ms | 9.3MB | 67ms | 3ms | crystal 1.4.1 |
python | 1.py | 833ms | 2.0ms | 87.8MB | 790ms | 30ms | pypy 3.8.13 |
python | 1.py | 2857ms | 0.4ms | 10.0MB | 2843ms | 0ms | pyston 3.8.12 |
python | 1.py | 2859ms | 0.7ms | 9.3MB | 2843ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 31ms | 0.3ms | 7.0MB | 20ms | 0ms | crystal 1.4.1 |
python | 1.py | 218ms | 1.9ms | 81.6MB | 183ms | 20ms | pypy 3.8.13 |
python | 1.py | 495ms | 1.8ms | 9.2MB | 480ms | 0ms | pyston 3.8.12 |
python | 1.py | 504ms | 1.7ms | 8.5MB | 490ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 842ms | 6.9ms | 3.6MB | 683ms | 143ms | crystal 1.4.1 |
crystal | 1.cr | 1030ms | 0.5ms | 14.8MB | 857ms | 160ms | crystal 1.4.1 |
python | 1.py | 2691ms | 81ms | 90.8MB | 2643ms | 30ms | pypy 3.8.13 |
python | 5-m.py | 3357ms | 14ms | 12.9MB | 4937ms | 1013ms | pyston 3.8.12 |
python | 5-m.py | 3998ms | 20ms | 85.2MB | 4463ms | 930ms | pypy 3.8.13 |
python | 1.py | 4467ms | 32ms | 8.2MB | 4447ms | 3ms | pyston 3.8.12 |
python | 5-m.py | 4473ms | 26ms | 12.1MB | 6287ms | 1063ms | cpython 3.10.4 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 88ms | 0.7ms | 3.5MB | 70ms | 10ms | crystal 1.4.1 |
crystal | 1.cr | 109ms | 2.2ms | 4.6MB | 83ms | 13ms | crystal 1.4.1 |
python | 1.py | 347ms | 5.0ms | 81.5MB | 320ms | 13ms | pypy 3.8.13 |
python | 5-m.py | 408ms | 6.5ms | 12.9MB | 537ms | 130ms | pyston 3.8.12 |
python | 1.py | 460ms | 2.0ms | 8.2MB | 447ms | 0ms | pyston 3.8.12 |
python | 5-m.py | 522ms | 3.8ms | 12.0MB | 670ms | 147ms | cpython 3.10.4 |
python | 1.py | 732ms | 8.2ms | 7.8MB | 717ms | 0ms | cpython 3.10.4 |
python | 5-m.py | 813ms | 7.3ms | 85.3MB | 900ms | 443ms | pypy 3.8.13 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3.0ms | 0.6ms | 3.0MB | 0ms | 0ms | crystal 1.4.1 |
python | 1.py | 14ms | 1.1ms | 7.6MB | 10ms | 0ms | pyston 3.8.12 |
python | 1.py | 15ms | 0.6ms | 7.5MB | 10ms | 0ms | cpython 3.10.4 |
python | 1.py | 34ms | 1.1ms | 53.6MB | 10ms | 10ms | pypy 3.8.13 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 1.py | 1591ms | 2.0ms | 29.9MB | 1273ms | 967ms | pyston 3.8.12 |
python | 1.py | 2223ms | 6.7ms | 27.3MB | 1947ms | 1003ms | cpython 3.10.4 |
crystal | 1.cr | 2833ms | 1054ms | 131.4MB | 303ms | 290ms | crystal 1.4.1 |
python | 1.py | 4366ms | 54ms | 129.3MB | 3380ms | 903ms | pypy 3.8.13 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 1.py | 360ms | 1.0ms | 24.0MB | 300ms | 157ms | pyston 3.8.12 |
python | 1.py | 449ms | 12ms | 21.9MB | 373ms | 180ms | cpython 3.10.4 |
python | 1.py | 1101ms | 12ms | 104.5MB | 907ms | 163ms | pypy 3.8.13 |
crystal | 1.cr | 1242ms | 112ms | 32.7MB | 20ms | 63ms | crystal 1.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 63ms | 2.1ms | 5.0MB | 50ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 108ms | 1.8ms | 3.0MB | 100ms | 0ms | crystal 1.4.1 |
python | 2.py | 204ms | 2.0ms | 79.9MB | 160ms | 23ms | pypy 3.8.13 |
python | 1.py | 244ms | 0.9ms | 81.2MB | 217ms | 10ms | pypy 3.8.13 |
python | 1.py | 1052ms | 3.9ms | 9.3MB | 1040ms | 0ms | pyston 3.8.12 |
python | 2.py | 1290ms | 15ms | 9.0MB | 1277ms | 0ms | pyston 3.8.12 |
python | 1.py | 1848ms | 8.2ms | 8.3MB | 1830ms | 0ms | cpython 3.10.4 |
python | 2.py | 2609ms | 24ms | 8.3MB | 2597ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 175ms | 1.0ms | 3.0MB | 163ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 313ms | 0.4ms | 3.1MB | 300ms | 0ms | crystal 1.4.1 |
python | 2.py | 470ms | 1.2ms | 80.1MB | 443ms | 10ms | pypy 3.8.13 |
python | 1.py | 513ms | 2.9ms | 81.2MB | 490ms | 10ms | pypy 3.8.13 |
python | 1.py | 3126ms | 28ms | 9.3MB | 3117ms | 0ms | pyston 3.8.12 |
python | 2.py | 3831ms | 16ms | 9.1MB | 3817ms | 0ms | pyston 3.8.12 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 2.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 32ms | 2.1ms | 3.1MB | 20ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 55ms | 1.2ms | 5.1MB | 47ms | 0ms | crystal 1.4.1 |
python | 2.py | 147ms | 0.7ms | 80.0MB | 117ms | 13ms | pypy 3.8.13 |
python | 1.py | 164ms | 1.1ms | 80.8MB | 137ms | 13ms | pypy 3.8.13 |
python | 1.py | 519ms | 1.1ms | 9.0MB | 503ms | 0ms | pyston 3.8.12 |
python | 2.py | 597ms | 5.7ms | 8.5MB | 583ms | 0ms | pyston 3.8.12 |
python | 1.py | 868ms | 2.3ms | 7.8MB | 857ms | 0ms | cpython 3.10.4 |
python | 2.py | 1256ms | 4.4ms | 7.4MB | 1240ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 1119ms | 48ms | 66.2MB | 1287ms | 13ms | crystal 1.4.1 |
python | 1.py | 2718ms | 66ms | 293.9MB | 2520ms | 183ms | pypy 3.8.13 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 226ms | 4.8ms | 19.4MB | 250ms | 3ms | crystal 1.4.1 |
python | 1.py | 387ms | 1.3ms | 144.6MB | 327ms | 43ms | pypy 3.8.13 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 510ms | 0.8ms | 3.1MB | 500ms | 0ms | crystal 1.4.1 |
crystal | 2.cr | 540ms | 0.7ms | 3.1MB | 530ms | 0ms | crystal 1.4.1 |
python | 2.py | 2186ms | 36ms | 79.8MB | 2157ms | 13ms | pypy 3.8.13 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 2.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pypy 3.8.13 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
python | 2.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 55ms | 1.3ms | 3.0MB | 43ms | 0ms | crystal 1.4.1 |
crystal | 2.cr | 59ms | 2.2ms | 5.1MB | 47ms | 0ms | crystal 1.4.1 |
python | 2.py | 282ms | 2.1ms | 79.5MB | 257ms | 10ms | pypy 3.8.13 |
python | 1.py | 590ms | 2.3ms | 79.7MB | 563ms | 10ms | pypy 3.8.13 |
python | 1.py | 1463ms | 3.4ms | 8.6MB | 1450ms | 0ms | pyston 3.8.12 |
python | 2.py | 2152ms | 28ms | 8.5MB | 2140ms | 0ms | pyston 3.8.12 |
python | 1.py | 4709ms | 32ms | 7.3MB | 4693ms | 0ms | cpython 3.10.4 |
python | 2.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 466ms | 1.2ms | 10.1MB | 450ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 878ms | 62ms | 44.5MB | 853ms | 10ms | crystal 1.4.1 |
python | 1.py | 4135ms | 8.4ms | 391.3MB | 4000ms | 113ms | pypy 3.8.13 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 1.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 108ms | 1.9ms | 4.4MB | 100ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 147ms | 1.5ms | 14.8MB | 133ms | 0ms | crystal 1.4.1 |
python | 1.py | 1053ms | 100ms | 215.9MB | 993ms | 40ms | pypy 3.8.13 |
python | 1.py | 2722ms | 31ms | 86.4MB | 2687ms | 17ms | pyston 3.8.12 |
python | 1.py | 4283ms | 21ms | 85.9MB | 4240ms | 27ms | cpython 3.10.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
python | 4.py | 2762ms | 3.2ms | 9.4MB | 2727ms | 17ms | pyston 3.8.12 |
crystal | 1.cr | 2771ms | 83ms | 6.8MB | 3037ms | 267ms | crystal 1.4.1 |
python | 4.py | 2782ms | 2.3ms | 8.5MB | 2740ms | 23ms | cpython 3.10.4 |
python | 4.py | 2800ms | 13ms | 119.5MB | 2757ms | 27ms | pypy 3.8.13 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 653ms | 3.5ms | 5.4MB | 680ms | 73ms | crystal 1.4.1 |
python | 4.py | 655ms | 0.7ms | 9.1MB | 643ms | 0ms | pyston 3.8.12 |
python | 4.py | 666ms | 2.4ms | 8.3MB | 650ms | 0ms | cpython 3.10.4 |
python | 4.py | 694ms | 12ms | 84.5MB | 663ms | 13ms | pypy 3.8.13 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | timeout | 0.0ms | 0.0MB | 0ms | 0ms | crystal 1.4.1 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pypy 3.8.13 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 1507ms | 2.2ms | 5.6MB | 1497ms | 0ms | crystal 1.4.1 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pypy 3.8.13 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 381ms | 1.5ms | 3.8MB | 367ms | 0ms | crystal 1.4.1 |
python | 8-m.py | 3295ms | 48ms | 110.4MB | 5600ms | 377ms | pypy 3.8.13 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | cpython 3.10.4 |
python | 8.py | timeout | 0.0ms | 0.0MB | 0ms | 0ms | pyston 3.8.12 |