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.

    sort sortsort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Pyston #3 0.090.10?181  100% 0% 0% 0%
1.0Pyston #3 0.090.10?181  0% 0% 100% 0%
1.0Pyston #3 0.090.10?181  0% 0% 78% 20%
3.6PyPy 3 #3 0.350.351,316182  23% 78% 3% 0%
3.7PyPy 3 #3 0.350.361,276182  3% 3% 3% 100%
3.7PyPy 3 #3 0.360.361,312182  0% 97% 0% 3%
3.8PyPy 2 #3 0.370.371,616181  97% 0% 3% 0%
3.9PyPy 2 #3 0.380.381,560181  3% 3% 100% 0%
3.9PyPy 2 #3 0.380.381,608181  3% 0% 97% 3%
8.1Python 2 #3 0.780.786,680181  0% 5% 100% 4%
8.1Python 2 #3 0.780.796,716181  9% 100% 3% 4%
8.1Cython #3 0.790.799,428184  0% 0% 99% 3%
8.1Cython #3 0.790.799,400184  1% 99% 0% 1%
8.1Python 2 #3 0.790.796,680181  99% 9% 4% 7%
8.2Cython #3 0.790.809,704184  4% 1% 100% 0%
8.2Python 3 #3 0.790.809,408182  100% 0% 1% 0%
8.2Python 3 #3 0.800.809,408182  100% 0% 3% 1%
8.2Python development version #3 0.800.808,180182  5% 99% 1% 4%
8.3Python 3 #3 0.800.809,372182  0% 100% 0% 1%
8.3Nuitka #3 0.810.8110,948182  4% 100% 4% 0%
8.4Nuitka #3 0.810.8110,944182  27% 0% 77% 7%
8.4Nuitka #3 0.820.8211,216182  1% 100% 1% 0%
8.5Python development version #3 0.820.828,116182  100% 9% 5% 6%
8.5Python development version #3 0.830.838,216182  14% 10% 92% 9%
12Cython 1.151.1525,736138  0% 2% 100% 2%
12Cython 1.151.1625,880138  1% 1% 0% 100%
12Python 3 1.161.1625,564137  0% 0% 100% 1%
12Python 2 1.161.1620,672136  43% 4% 59% 3%
12Python 3 1.171.1725,564137  100% 1% 2% 0%
12Python 2 1.161.1720,624136  5% 3% 99% 0%
12Nuitka 1.181.1826,608137  1% 100% 0% 3%
12Nuitka 1.181.1826,564137  1% 100% 1% 2%
13Python 2 1.211.2220,836136  4% 99% 2% 11%
13Cython 1.181.2425,472138  5% 88% 9% 3%
13Nuitka 1.191.2526,444137  1% 2% 4% 92%
13Python 3 1.211.2725,460137  2% 3% 6% 90%
15Python development version 1.471.4726,512137  3% 100% 3% 1%
15Python development version 1.481.4826,092137  5% 100% 11% 2%
18Python development version 1.521.7125,972137  88% 21% 1% 8%
42Jython #3 9.704.08284,360181  83% 55% 55% 63%
43Pyston #2 4.204.2060,472110  3% 2% 5% 100%
44Pyston #2 4.284.2963,244110  8% 5% 8% 100%
46Pyston #2 4.424.4360,588110  100% 10% 7% 11%
46Numba 2.714.5075,816160  100% 100% 100% 100%
48Jython #3 11.124.64281,464181  87% 71% 63% 69%
51Jython #3 10.824.99279,128181  82% 77% 85% 75%
52Numba 2.725.0375,908160  100% 100% 100% 100%
52Numba 2.745.0876,248160  100% 100% 100% 100%
78IronPython #3 7.537.5452,992181  0% 100% 0% 0%
78IronPython #3 7.557.5650,784181  0% 46% 0% 55%
78IronPython #3 7.567.5752,592181  0% 0% 0% 100%
90PyPy 3 #2 8.708.7073,172110  2% 100% 0% 1%
90PyPy 3 #2 8.758.7573,100110  1% 100% 0% 1%
90PyPy 3 #2 8.768.7773,200110  2% 100% 0% 1%
92PyPy 2 #2 8.918.9185,012110  1% 1% 100% 0%
92PyPy 2 #2 8.928.9284,784110  100% 1% 1% 0%
93PyPy 2 #2 9.049.0484,392110  2% 2% 100% 0%
122Python 2 #2 11.8311.8438,292110  45% 2% 57% 2%
122Python 3 #2 11.8811.889,332110  0% 100% 0% 0%
123Python 3 #2 11.9011.919,124110  0% 100% 0% 0%
123Python 3 #2 11.9211.929,312110  0% 0% 0% 100%
123Nuitka #2 11.9611.9611,104110  1% 100% 1% 1%
124Nuitka #2 11.9811.9810,896110  0% 1% 100% 1%
125Nuitka #2 12.0912.0910,940110  1% 1% 100% 1%
126Python 2 #2 12.1812.1838,236110  7% 8% 100% 4%
127Python 2 #2 12.3512.3638,368110  13% 100% 8% 7%
129Python development version #2 12.4612.488,060110  7% 8% 86% 22%
130Python development version #2 12.6012.628,096110  11% 100% 11% 8%
146Python development version #2 14.1114.148,080110  49% 61% 28% 43%
255Jython #2 31.3424.76320,916110  34% 32% 44% 38%
274Jython #2 33.5126.60309,088110  45% 43% 43% 48%
275Jython #2 33.1526.72311,676110  47% 48% 45% 46%
402Grumpy #2 82.3539.00304,740110  57% 53% 54% 53%
420Grumpy #2 82.1640.71295,140110  55% 50% 54% 49%
429Grumpy #2 83.7641.65298,908110  54% 55% 51% 51%
819IronPython #2 103.4479.45108,176110  21% 50% 28% 32%
821IronPython #2 104.0979.67107,296110  43% 37% 35% 18%
822IronPython #2 104.2379.77109,436110  45% 28% 10% 48%
914MicroPython #3 88.6688.662,808182  100% 2% 1% 2%
914MicroPython #3 88.6788.673,256182  2% 90% 1% 12%
915MicroPython #3 88.7788.773,100182  2% 100% 2% 2%
1,209MicroPython #2 117.31117.314,248110  43% 59% 1% 2%
1,211MicroPython #2 117.42117.434,192110  100% 2% 1% 2%
1,213MicroPython #2 117.64117.654,192110  100% 2% 2% 2%
missing benchmark programs
Shedskin No program

 fibonacci benchmark : Calculate Fibonacci sequence

 

Revised BSD license

  Home   Conclusions   License   Play