fibonacci benchmark N=1,000,000

Each chart bar shows how many times slower, one ↓ fibonacci program was, compared to the fastest program.

These are not the only programs that could be written. These are not the only compilers and interpreters. These are not the only programming languages.

Column × shows how many times more each program used compared to the benchmark program that used least.

     sortsortsort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Pyston #3 0.060.06?181  0% 0% 0% 100%
1.0Pyston #3 0.060.06?181  0% 0% 0% 100%
1.0Pyston #3 0.060.06?181  14% 0% 0% 100%
4.3PyPy 2 #3 0.260.281,168181  41% 70% 7% 0%
4.4PyPy 2 #3 0.260.261,120181  4% 4% 96% 11%
4.5PyPy 2 #3 0.260.271,100181  4% 7% 100% 4%
4.5PyPy 3 #3 0.260.271,140182  0% 4% 100% 4%
4.5PyPy 3 #3 0.270.271,140182  0% 11% 100% 4%
4.6PyPy 3 #3 0.270.271,020182  0% 4% 0% 100%
7.3Pyston 0.430.4355,100136  100% 0% 0% 0%
7.3Pyston 0.430.4355,228136  100% 0% 2% 0%
7.3Pyston 0.430.4457,344136  91% 11% 0% 0%
11Python development version #3 0.660.678,256182  14% 8% 11% 100%
11Python development version #3 0.670.678,396182  13% 10% 100% 10%
11Python development version #3 0.670.678,360182  11% 12% 100% 6%
11Python 2 #3 0.670.677,240181  1% 100% 3% 0%
11Python 2 #3 0.670.677,384181  12% 2% 6% 100%
11Python 2 #3 0.670.677,284181  99% 2% 3% 6%
11Cython #3 0.670.689,252184  11% 100% 7% 12%
11Cython #3 0.670.689,024184  100% 8% 13% 4%
11Cython #3 0.670.689,376184  3% 7% 100% 9%
11Python 3 #3 0.670.689,180182  3% 4% 3% 100%
11Python 3 #3 0.670.689,236182  100% 6% 3% 3%
11Python 3 #3 0.670.689,136182  100% 9% 3% 3%
11Nuitka #3 0.680.6810,300182  0% 100% 1% 0%
11Nuitka #3 0.680.6810,468182  0% 100% 1% 1%
12Nuitka #3 0.680.6810,344182  1% 3% 4% 100%
16Nuitka 0.970.9827,648137  2% 51% 1% 51%
17Python 2 0.970.9824,096136  1% 2% 100% 4%
17Cython 0.980.9826,384138  2% 0% 100% 0%
17Python 2 0.980.9824,192136  3% 100% 1% 4%
17Cython 0.980.9826,572138  1% 1% 99% 1%
17Python 2 0.981.0324,012136  2% 3% 10% 92%
17Nuitka 0.980.9927,740137  4% 100% 2% 3%
17Nuitka 0.991.0827,564137  2% 3% 93% 5%
17Python 3 1.021.0229,272137  100% 5% 0% 5%
17Python 3 1.021.0629,320137  0% 99% 1% 2%
18Python 3 1.031.1629,896137  4% 97% 1% 1%
18RustPython #3 1.041.1020,072182  100% 13% 15% 16%
18RustPython #3 1.061.0720,188182  28% 47% 72% 21%
18RustPython #3 1.061.1120,132182  100% 20% 19% 20%
18Cython 1.061.1726,532138  85% 7% 5% 9%
20Numba 1.201.2075,208160  99% 0% 0% 0%
20Numba 1.201.2075,420160  99% 1% 1% 0%
20Numba 1.201.2074,964160  0% 1% 0% 100%
57Pyston #2 3.373.3759,552110  0% 82% 0% 18%
57Pyston #2 3.373.3759,376110  0% 0% 100% 0%
57Pyston #2 3.393.3959,460110  0% 62% 0% 38%
75Jython #3 4.421.78246,336181  79% 62% 61% 47%
77Jython #3 4.571.80255,888181  73% 69% 61% 51%
81Jython #3 4.771.90272,324181  73% 84% 58% 36%
99IronPython #3 5.865.8653,032181  100% 0% 0% 0%
99IronPython #3 5.865.8650,872181  0% 0% 100% 0%
99IronPython #3 5.865.8755,276181  0% 100% 0% 0%
114PyPy 2 #2 6.736.7885,772110  63% 49% 46% 58%
116PyPy 2 #2 6.856.9785,948110  27% 34% 33% 80%
117PyPy 3 #2 6.876.9178,352110  100% 6% 1% 1%
118PyPy 3 #2 6.967.0078,568110  99% 6% 2% 3%
119PyPy 3 #2 7.027.0578,240110  2% 6% 1% 100%
120PyPy 2 #2 7.107.1585,760110  53% 15% 64% 100%
160Python 3 #2 9.429.439,176110  70% 6% 30% 1%
160Python 3 #2 9.459.479,148110  90% 6% 12% 1%
160Python 2 #2 9.469.4738,896110  2% 2% 3% 100%
160Python 3 #2 9.469.489,124110  69% 6% 32% 2%
160Python development version #2 9.479.488,136110  6% 1% 1% 100%
161Python development version #2 9.489.498,068110  6% 1% 1% 100%
161Python 2 #2 9.509.5138,904110  2% 100% 2% 2%
161Nuitka #2 9.539.5410,448110  21% 1% 80% 1%
161Python 2 #2 9.539.5438,952110  37% 21% 49% 3%
162Nuitka #2 9.559.5610,244110  65% 1% 35% 1%
162Nuitka #2 9.579.5810,248110  89% 1% 12% 2%
163Python development version #2 9.599.618,060110  5% 1% 100% 1%
280RustPython #2 16.5316.7020,296110  23% 38% 15% 44%
283RustPython #2 16.7217.2520,236110  60% 30% 9% 29%
315RustPython #2 18.5919.6220,384110  70% 57% 59% 90%
321Jython #2 18.9415.34323,352110  20% 37% 28% 38%
323Jython #2 19.0615.35317,228110  26% 37% 24% 38%
383Jython #2 22.5918.13356,048110  21% 35% 31% 37%
635Graal #2 37.4437.92405,264110  31% 57% 7% 14%
640Graal #2 37.7838.23405,020110  29% 3% 76% 2%
641Graal #2 37.7938.00405,012110  15% 2% 90% 3%
653Grumpy #2 38.5515.39498,660110  65% 71% 65% 64%
658Grumpy #2 38.8115.90550,940110  71% 69% 67% 68%
669Grumpy #2 39.4615.78519,192110  65% 71% 63% 66%
1,311IronPython #2 77.3760.52105,408110  38% 65% 0% 24%
1,312IronPython #2 77.4360.55109,804110  26% 41% 44% 16%
1,321IronPython #2 77.9460.55106,696110  70% 37% 14% 7%
1,390MicroPython #3 82.0284.113,180182  18% 60% 23% 7%
1,390MicroPython #3 82.0282.383,160182  51% 13% 46% 3%
1,391MicroPython #3 82.0582.603,128182  48% 13% 48% 2%
1,805MicroPython #2 106.52111.084,184110  2% 96% 2% 7%
1,823MicroPython #2 107.54110.574,252110  18% 63% 32% 7%
1,838MicroPython #2 108.42113.304,216110  56% 65% 58% 41%
missing benchmark programs
Shedskin No program

 fibonacci benchmark : Calculate Fibonacci sequence

 

Revised BSD license

  Home   Conclusions   License   Play