D VS Python benchmarks

Current benchmark data was generated on Tue Apr 01 2025, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] AMD EPYC 7763 64-Core Processor (Model 1)

* -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.)

binarytrees

Input: 18

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 1182ms 8.2ms 96.2MB 1120ms 47ms pypy 3.10.16
d 1.d 1784ms 12ms 312.6MB 1750ms 47ms ldc2 1.40.1
d 1.d 2700ms 18ms 314.7MB 2897ms 43ms dmd 2.110.0
python 1.py timeout 0.0ms 40.8MB 4963ms 23ms cpython 3.13.2
python 1.py timeout 0.0ms 40.5MB 4737ms 247ms pyston 3.8.12

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 95ms 3.4ms 68.6MB 67ms 17ms pypy 3.10.16
d 1.d 163ms 1.3ms 209.9MB 137ms 10ms ldc2 1.40.1
d 1.d 229ms 2.9ms 212.0MB 200ms 20ms dmd 2.110.0
python 1.py 478ms 2.9ms 11.9MB 453ms 10ms pyston 3.8.12
python 1.py 732ms 24ms 12.6MB 720ms 0ms cpython 3.13.2

coro-prime-sieve

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 1208ms 9.0ms 106.4MB 1153ms 37ms pypy 3.10.16
python 1.py 2704ms 11ms 25.0MB 2677ms 10ms cpython 3.13.2
d 1.d timeout 0.0ms 17.9MB 4967ms 23ms dmd 2.110.0
d 1.d timeout 0.0ms 16.6MB 4967ms 23ms ldc2 1.40.1
python 1.py timeout 0.0ms 17.4MB 4980ms 7ms pyston 3.8.12

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 220ms 3.2ms 86.7MB 180ms 23ms pypy 3.10.16
python 1.py 239ms 7.5ms 20.4MB 220ms 3ms cpython 3.13.2
python 1.py 657ms 16ms 16.8MB 637ms 3ms pyston 3.8.12
d 1.d 1038ms 4.5ms 12.2MB 1017ms 10ms ldc2 1.40.1
d 1.d 1327ms 17ms 14.5MB 1303ms 17ms dmd 2.110.0

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 249ms 2.1ms 83.6MB 213ms 23ms pypy 3.10.16
python 1.py 363ms 3.9ms 12.5MB 347ms 0ms cpython 3.13.2
python 1.py 2004ms 2.5ms 9.6MB 1993ms 0ms pyston 3.8.12
d 1.d 2559ms 8.4ms 8.1MB 2547ms 0ms ldc2 1.40.1
d 1.d 2902ms 0.4ms 10.2MB 2890ms 3ms dmd 2.110.0

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 103ms 2.3ms 63.4MB 73ms 17ms pypy 3.10.16
python 1.py 116ms 4.8ms 12.3MB 100ms 0ms cpython 3.13.2
python 1.py 350ms 2.4ms 8.8MB 337ms 0ms pyston 3.8.12
d 1.d 444ms 1.8ms 8.2MB 430ms 0ms ldc2 1.40.1
d 1.d 527ms 0.9ms 10.5MB 520ms 0ms dmd 2.110.0

fannkuch-redux

Input: 11

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1-im.d 375ms 6.2ms 3.0MB 1430ms 0ms ldc2 1.40.1
d 2-im.d 1116ms 3.8ms 3.0MB 4320ms 0ms ldc2 1.40.1
d 1-i.d 1484ms 1.3ms 2.9MB 1473ms 0ms ldc2 1.40.1
d 1.d 3117ms 14ms 2.9MB 3110ms 0ms ldc2 1.40.1
d 2-i.d 3237ms 1.8ms 2.9MB 3227ms 0ms ldc2 1.40.1
d 1.d 3562ms 12ms 4.6MB 3550ms 0ms dmd 2.110.0
d 1-im.d 4472ms 33ms 4.9MB 17553ms 10ms dmd 2.110.0
d 1-i.d timeout 0.0ms 4.5MB 4990ms 0ms dmd 2.110.0
d 2-i.d timeout 0.0ms 4.5MB 4990ms 0ms dmd 2.110.0
d 2-im.d timeout 0.0ms 4.9MB 19697ms 7ms dmd 2.110.0

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1-im.d 37ms 0.5ms 3.1MB 110ms 0ms ldc2 1.40.1
d 2-im.d 99ms 0.1ms 3.0MB 350ms 0ms ldc2 1.40.1
d 1-i.d 124ms 0.3ms 2.9MB 117ms 0ms ldc2 1.40.1
d 1.d 263ms 2.2ms 2.9MB 253ms 0ms ldc2 1.40.1
d 2-i.d 268ms 0.9ms 2.8MB 260ms 0ms ldc2 1.40.1
d 1.d 299ms 0.4ms 4.6MB 290ms 0ms dmd 2.110.0
d 1-im.d 378ms 1.1ms 5.0MB 1437ms 0ms dmd 2.110.0
d 2-im.d 524ms 1.1ms 5.0MB 2000ms 3ms dmd 2.110.0
d 1-i.d 867ms 10ms 4.5MB 853ms 0ms dmd 2.110.0
d 2-i.d 1368ms 16ms 4.6MB 1360ms 0ms dmd 2.110.0

fasta

Input: 2500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 193ms 0.5ms 49.1MB 180ms 3ms ldc2 1.40.1
d 1.d 623ms 1.5ms 53.2MB 613ms 0ms dmd 2.110.0
python 1.py 1868ms 39ms 88.8MB 1827ms 30ms pypy 3.10.16
python 5-m.py 2268ms 8.6ms 65.4MB 3480ms 850ms pypy 3.10.16
python 5-m.py 2448ms 28ms 12.5MB 3507ms 1017ms pyston 3.8.12
python 1.py 3055ms 111ms 8.1MB 3037ms 0ms pyston 3.8.12
python 5-m.py 3389ms 42ms 13.6MB 4500ms 943ms cpython 3.13.2
python 1.py 4744ms 95ms 8.6MB 4730ms 0ms cpython 3.13.2

Input: 250000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 24ms 0.4ms 11.0MB 13ms 0ms ldc2 1.40.1
d 1.d 67ms 1.5ms 13.3MB 60ms 0ms dmd 2.110.0
python 1.py 256ms 2.4ms 63.3MB 230ms 10ms pypy 3.10.16
python 5-m.py 311ms 0.4ms 12.5MB 400ms 143ms pyston 3.8.12
python 1.py 329ms 29ms 8.1MB 317ms 0ms pyston 3.8.12
python 5-m.py 410ms 2.7ms 13.6MB 490ms 157ms cpython 3.13.2
python 5-m.py 442ms 1.0ms 65.3MB 737ms 313ms pypy 3.10.16
python 1.py 487ms 1.7ms 8.8MB 477ms 0ms cpython 3.13.2

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 1.7ms 0.2ms 3.0MB 0ms 0ms ldc2 1.40.1
d 1.d 2.3ms 0.2ms 5.0MB 0ms 0ms dmd 2.110.0
python 1.py 12ms 1.2ms 7.6MB 0ms 0ms pyston 3.8.12
python 1.py 14ms 0.7ms 8.6MB 10ms 0ms cpython 3.13.2
python 1.py 28ms 0.6ms 51.6MB 10ms 10ms pypy 3.10.16

json-serde

Input: sample 5000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 2.d 58ms 1.2ms 15.7MB 67ms 0ms ldc2 1.40.1
python 1.py 203ms 6.3ms 38.2MB 170ms 17ms pyston 3.8.12
python 1.py 217ms 1.7ms 38.5MB 190ms 10ms cpython 3.13.2
d 2.d 237ms 1.4ms 22.5MB 240ms 10ms dmd 2.110.0
python 1.py 297ms 6.3ms 89.5MB 260ms 23ms pypy 3.10.16

Input: canada 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 2.d 475ms 18ms 142.0MB 447ms 23ms ldc2 1.40.1
python 1.py 1853ms 5.9ms 220.5MB 1680ms 160ms pyston 3.8.12
python 1.py 1918ms 37ms 222.2MB 1843ms 60ms pypy 3.10.16
python 1.py 1931ms 4.5ms 221.2MB 1830ms 83ms cpython 3.13.2
d 2.d 2457ms 11ms 159.0MB 2467ms 33ms dmd 2.110.0

knucleotide

Input: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1-m.d 743ms 22ms 47.2MB 2477ms 10ms ldc2 1.40.1
d 1-m.d 1908ms 47ms 49.5MB 5890ms 13ms dmd 2.110.0
python 3-m.py 2392ms 20ms 136.5MB 8183ms 333ms pypy 3.10.16
python 3-m.py 3088ms 5.8ms 34.3MB 11800ms 120ms pyston 3.8.12
python 3.py timeout 0.0ms 35.6MB 90ms 20ms cpython 3.13.2

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1-m.d 95ms 16ms 39.8MB 263ms 13ms ldc2 1.40.1
d 1-m.d 204ms 5.0ms 42.0MB 630ms 7ms dmd 2.110.0
python 3-m.py 382ms 3.3ms 76.2MB 963ms 157ms pypy 3.10.16
python 3-m.py 394ms 3.7ms 14.2MB 1300ms 67ms pyston 3.8.12
python 3-m.py 644ms 5.9ms 15.1MB 2263ms 57ms cpython 3.13.2

lru

Input: 1000 1000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 130ms 0.9ms 6.1MB 120ms 0ms ldc2 1.40.1
python 2.py 148ms 3.4ms 58.2MB 127ms 10ms pypy 3.10.16
d 1.d 178ms 1.6ms 8.1MB 167ms 0ms dmd 2.110.0
python 1.py 180ms 3.2ms 59.4MB 157ms 10ms pypy 3.10.16
python 1.py 716ms 1.5ms 8.9MB 700ms 0ms pyston 3.8.12
python 2.py 872ms 24ms 8.5MB 857ms 0ms pyston 3.8.12
python 1.py 1138ms 18ms 9.3MB 1123ms 0ms cpython 3.13.2
python 2.py 1300ms 16ms 9.0MB 1290ms 0ms cpython 3.13.2

Input: 1000 3000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 2.py 338ms 1.1ms 59.2MB 317ms 10ms pypy 3.10.16
d 1.d 376ms 1.9ms 6.1MB 363ms 13ms ldc2 1.40.1
python 1.py 378ms 4.7ms 60.3MB 353ms 10ms pypy 3.10.16
d 1.d 517ms 0.7ms 7.9MB 507ms 20ms dmd 2.110.0
python 1.py 2142ms 16ms 8.9MB 2130ms 0ms pyston 3.8.12
python 2.py 2475ms 28ms 8.5MB 2467ms 0ms pyston 3.8.12
python 1.py 3392ms 6.8ms 9.3MB 3377ms 0ms cpython 3.13.2
python 2.py 3900ms 85ms 9.0MB 3883ms 0ms cpython 3.13.2

Input: 100 500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 57ms 0.9ms 5.9MB 50ms 0ms ldc2 1.40.1
d 1.d 80ms 1.4ms 8.2MB 70ms 0ms dmd 2.110.0
python 2.py 105ms 2.3ms 58.1MB 80ms 13ms pypy 3.10.16
python 1.py 120ms 1.9ms 58.7MB 97ms 10ms pypy 3.10.16
python 1.py 348ms 3.1ms 8.5MB 337ms 0ms pyston 3.8.12
python 2.py 399ms 6.2ms 8.1MB 390ms 0ms pyston 3.8.12
python 1.py 539ms 1.1ms 9.1MB 530ms 0ms cpython 3.13.2
python 2.py 631ms 13ms 8.6MB 623ms 0ms cpython 3.13.2

mandelbrot

Input: 5000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 295ms 1.3ms 7.0MB 283ms 0ms ldc2 1.40.1
d 1.d 2396ms 387ms 8.8MB 2387ms 0ms dmd 2.110.0

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 15ms 0.1ms 3.0MB 10ms 0ms ldc2 1.40.1
d 1.d 97ms 3.2ms 4.6MB 90ms 0ms dmd 2.110.0

merkletrees

Input: 17

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 987ms 6.0ms 312.7MB 953ms 40ms ldc2 1.40.1
d 1.d 1748ms 11ms 314.7MB 1867ms 50ms dmd 2.110.0
python 1.py 2230ms 7.0ms 202.6MB 2107ms 110ms pypy 3.10.16
python 1.py timeout 0.0ms 93.9MB 4953ms 33ms cpython 3.13.2
python 1.py timeout 0.0ms 130.4MB 4930ms 53ms pyston 3.8.12

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 198ms 3.5ms 312.6MB 160ms 27ms ldc2 1.40.1
d 1.d 339ms 2.9ms 314.9MB 307ms 27ms dmd 2.110.0
python 1.py 386ms 6.3ms 105.1MB 327ms 50ms pypy 3.10.16
python 1.py 3162ms 61ms 37.1MB 3137ms 13ms cpython 3.13.2
python 1.py timeout 0.0ms 48.9MB 4953ms 33ms pyston 3.8.12

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 2.d 361ms 0.6ms 2.9MB 350ms 0ms ldc2 1.40.1
d 1.d 362ms 1.0ms 2.9MB 350ms 0ms ldc2 1.40.1
d 1.d 686ms 4.3ms 4.6MB 677ms 0ms dmd 2.110.0
python 2.py 1356ms 8.7ms 60.2MB 1330ms 10ms pypy 3.10.16
d 2.d 2031ms 8.1ms 4.6MB 2023ms 0ms dmd 2.110.0
python 1.py 2651ms 14ms 57.2MB 2627ms 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

Input: 500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 2.d 39ms 0.3ms 2.9MB 30ms 0ms ldc2 1.40.1
d 1.d 40ms 0.3ms 2.9MB 30ms 0ms ldc2 1.40.1
d 1.d 71ms 0.7ms 4.6MB 60ms 0ms dmd 2.110.0
python 2.py 180ms 1.9ms 57.9MB 160ms 10ms pypy 3.10.16
d 2.d 207ms 1.6ms 4.6MB 200ms 0ms dmd 2.110.0
python 1.py 308ms 8.8ms 57.1MB 287ms 10ms pypy 3.10.16
python 1.py 936ms 17ms 8.3MB 923ms 0ms pyston 3.8.12
python 2.py 1303ms 12ms 8.1MB 1290ms 0ms pyston 3.8.12
python 1.py 3020ms 81ms 8.8MB 3010ms 0ms cpython 3.13.2
python 2.py 3178ms 29ms 8.8MB 3167ms 0ms cpython 3.13.2

nsieve

Input: 12

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 368ms 4.0ms 77.4MB 353ms 0ms dmd 2.110.0
d 1.d 385ms 5.5ms 42.9MB 367ms 3ms ldc2 1.40.1
d 2.d 844ms 3.3ms 49.1MB 830ms 7ms ldc2 1.40.1
d 2.d 1185ms 23ms 48.7MB 1173ms 0ms dmd 2.110.0
python 1.py 2573ms 30ms 369.5MB 2500ms 57ms pypy 3.10.16
python 2.py 3155ms 131ms 633.0MB 2947ms 190ms pyston 3.8.12
python 1.py 4850ms 37ms 320.4MB 4793ms 43ms pyston 3.8.12
python 1.py timeout 0.0ms 321.1MB 4960ms 23ms cpython 3.13.2
python 2.py timeout 0.0ms 633.6MB 4827ms 160ms cpython 3.13.2
python 2.py timeout 0.0ms 959.8MB 4713ms 270ms pypy 3.10.16

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 61ms 0.8ms 15.0MB 50ms 0ms ldc2 1.40.1
d 1.d 76ms 1.0ms 27.1MB 70ms 0ms dmd 2.110.0
d 2.d 209ms 0.4ms 17.0MB 197ms 0ms ldc2 1.40.1
d 2.d 292ms 3.7ms 18.9MB 280ms 0ms dmd 2.110.0
python 1.py 537ms 3.8ms 135.0MB 503ms 20ms pypy 3.10.16
python 2.py 728ms 7.7ms 164.2MB 687ms 27ms pyston 3.8.12
python 1.py 1111ms 15ms 86.1MB 1090ms 10ms pyston 3.8.12
python 2.py 1421ms 10ms 164.8MB 1380ms 27ms cpython 3.13.2
python 2.py 1556ms 33ms 290.2MB 1470ms 70ms pypy 3.10.16
python 1.py 2684ms 11ms 86.8MB 2660ms 10ms cpython 3.13.2

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 4.py 1905ms 5.3ms 8.9MB 1863ms 27ms pyston 3.8.12
python 4.py 1947ms 8.4ms 9.3MB 1893ms 40ms cpython 3.13.2
python 4.py 2190ms 5.4ms 89.4MB 2147ms 30ms pypy 3.10.16
d 1.d 2449ms 25ms 8.1MB 2400ms 413ms ldc2 1.40.1
d 1.d 4318ms 7.0ms 10.1MB 4247ms 483ms dmd 2.110.0

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 4.py 459ms 3.9ms 8.6MB 443ms 0ms pyston 3.8.12
python 4.py 463ms 0.2ms 9.0MB 450ms 0ms cpython 3.13.2
python 4.py 551ms 3.0ms 84.1MB 513ms 27ms pypy 3.10.16
d 1.d 588ms 6.2ms 8.0MB 580ms 90ms ldc2 1.40.1
d 1.d 1037ms 9.5ms 10.3MB 1007ms 117ms dmd 2.110.0

regex-redux

Input: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 3.d 578ms 7.1ms 169.8MB 760ms 17ms ldc2 1.40.1
d 3.d 1283ms 1.6ms 176.7MB 1477ms 17ms dmd 2.110.0
python 1.py 2243ms 6.5ms 243.7MB 2187ms 43ms pypy 3.10.16
python 1.py 4784ms 62ms 252.8MB 4590ms 183ms pyston 3.8.12
python 1.py timeout 0.0ms 133.0MB 4947ms 43ms cpython 3.13.2

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 3.d 63ms 1.4ms 25.1MB 70ms 0ms ldc2 1.40.1
d 3.d 136ms 2.4ms 30.4MB 147ms 0ms dmd 2.110.0
python 1.py 327ms 2.2ms 85.5MB 290ms 23ms pypy 3.10.16
python 1.py 500ms 2.7ms 30.2MB 470ms 17ms pyston 3.8.12
python 1.py 610ms 10.0ms 31.1MB 580ms 13ms cpython 3.13.2

secp256k1

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 3195ms 7.0ms 8.4MB 3183ms 0ms pyston 3.8.12
python 1.py 3526ms 20ms 74.3MB 3490ms 20ms pypy 3.10.16
python 1.py 3855ms 52ms 8.6MB 3847ms 0ms cpython 3.13.2
d 1.d 4822ms 90ms 4.0MB 4747ms 393ms ldc2 1.40.1
d 1.d timeout 0.0ms 6.5MB 4963ms 280ms dmd 2.110.0

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 1.py 811ms 4.7ms 8.3MB 800ms 0ms pyston 3.8.12
python 1.py 972ms 5.1ms 8.6MB 960ms 0ms cpython 3.13.2
python 1.py 994ms 11ms 67.3MB 963ms 17ms pypy 3.10.16
d 1.d 1207ms 13ms 4.0MB 1200ms 77ms ldc2 1.40.1
d 1.d 2080ms 41ms 6.9MB 2047ms 127ms dmd 2.110.0

spectral-norm

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 3596ms 8.1ms 3.8MB 3583ms 0ms ldc2 1.40.1
d 1.d 3674ms 49ms 6.0MB 3667ms 0ms dmd 2.110.0
python 8.py timeout 0.0ms 14.6MB 30ms 10ms cpython 3.13.2
python 8.py timeout 0.0ms 96.1MB 793ms 83ms pypy 3.10.16
python 8.py timeout 0.0ms 14.2MB 40ms 7ms pyston 3.8.12

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 902ms 2.0ms 3.4MB 890ms 0ms ldc2 1.40.1
d 1.d 923ms 9.6ms 7.7MB 910ms 0ms dmd 2.110.0
python 8.py timeout 0.0ms 14.4MB 47ms 10ms cpython 3.13.2
python 8.py timeout 0.0ms 96.8MB 1297ms 187ms pypy 3.10.16
python 8.py timeout 0.0ms 13.7MB 57ms 17ms pyston 3.8.12

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1.d 229ms 1.5ms 3.1MB 220ms 0ms ldc2 1.40.1
d 1.d 236ms 0.3ms 4.9MB 227ms 0ms dmd 2.110.0
python 8-m.py 1947ms 12ms 93.2MB 6353ms 250ms pypy 3.10.16
python 8.py timeout 0.0ms 14.0MB 80ms 23ms cpython 3.13.2
python 8.py timeout 0.0ms 13.4MB 143ms 33ms pyston 3.8.12