fibonacci benchmark N=1,000,000

Each chart bar shows how many times more Code, one ↓ fibonacci program used, compared to the program that used least Code.

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.0RustPython #2 18.5919.6220,384110  70% 57% 59% 90%
1.0RustPython #2 16.7217.2520,236110  60% 30% 9% 29%
1.0PyPy 2 #2 6.636.6685,884110  6% 1% 100% 1%
1.0PyPy 2 #2 6.586.6185,088110  5% 43% 0% 57%
1.0Python 3 #2 9.559.569,288110  5% 1% 100% 0%
1.0PyPy 2 #2 6.556.5985,084110  6% 84% 1% 16%
1.0Python 3 #2 9.489.499,344110  5% 62% 0% 38%
1.0Python 3 #2 9.579.589,264110  5% 0% 100% 0%
1.0Jython #2 22.5918.13356,048110  21% 35% 31% 37%
1.0RustPython #2 16.5316.7020,296110  23% 38% 15% 44%
1.0Nuitka #2 9.669.9110,520110  58% 50% 3% 0%
1.0Jython #2 18.9415.34323,352110  20% 37% 28% 38%
1.0Nuitka #2 9.709.8310,724110  31% 1% 73% 1%
1.0Jython #2 19.0615.35317,228110  26% 37% 24% 38%
1.0Grumpy #2 38.5515.39498,660110  65% 71% 65% 64%
1.0PyPy 3 #2 6.586.6178,408110  5% 100% 1% 0%
1.0Python development version #2 9.599.618,060110  5% 1% 100% 1%
1.0Grumpy #2 38.8115.90550,940110  71% 69% 67% 68%
1.0Python 2 #2 9.469.4738,896110  2% 2% 3% 100%
1.0Graal #2 75.9165.41527,676110  18% 15% 83% 14%
1.0MicroPython #2 106.52111.084,184110  2% 96% 2% 7%
1.0Python 2 #2 9.509.5138,904110  2% 100% 2% 2%
1.0MicroPython #2 107.54110.574,252110  18% 63% 32% 7%
1.0MicroPython #2 108.42113.304,216110  56% 65% 58% 41%
1.0IronPython #2 77.4360.55109,804110  26% 41% 44% 16%
1.0Graal #2 75.1867.11527,916110  45% 22% 38% 18%
1.0Python 2 #2 9.539.5438,952110  37% 21% 49% 3%
1.0Graal #2 74.0367.55524,808110  90% 20% 9% 5%
1.0IronPython #2 77.9460.55106,696110  70% 37% 14% 7%
1.0Python development version #2 9.489.498,068110  6% 1% 1% 100%
1.0IronPython #2 77.3760.52105,408110  38% 65% 0% 24%
1.0Python development version #2 9.479.488,136110  6% 1% 1% 100%
1.0Pyston #2 3.373.3759,552110  0% 82% 0% 18%
1.0Grumpy #2 39.4615.78519,192110  65% 71% 63% 66%
1.0Pyston #2 3.393.3959,460110  0% 62% 0% 38%
1.0PyPy 3 #2 6.646.7478,504110  28% 1% 74% 2%
1.0Pyston #2 3.373.3759,376110  0% 0% 100% 0%
1.0PyPy 3 #2 6.566.8678,256110  86% 0% 15% 0%
1.0Nuitka #2 9.5910.0410,616110  100% 1% 0% 0%
1.2Python 2 0.981.0324,012136  2% 3% 10% 92%
1.2Pyston 0.430.4355,100136  100% 0% 0% 0%
1.2Pyston 0.430.4355,228136  100% 0% 2% 0%
1.2Python 2 0.980.9824,192136  3% 100% 1% 4%
1.2Python 2 0.970.9824,096136  1% 2% 100% 4%
1.2Pyston 0.430.4457,344136  91% 11% 0% 0%
1.2Nuitka 0.991.0427,668137  100% 0% 0% 0%
1.2Python 3 1.011.0126,248137  6% 8% 0% 92%
1.2Nuitka 0.991.0427,636137  100% 0% 0% 2%
1.2Nuitka 0.991.0427,612137  100% 5% 2% 0%
1.2Python 3 1.011.0226,132137  5% 100% 1% 0%
1.2Python 3 1.011.0626,284137  100% 1% 0% 1%
1.3Cython 0.980.9826,540138  5% 100% 1% 0%
1.3Cython 0.980.9926,632138  10% 99% 0% 0%
1.3Cython 1.011.1127,056138  5% 86% 4% 13%
1.5Numba 1.201.2075,420160  99% 1% 1% 0%
1.5Numba 1.201.2074,964160  0% 1% 0% 100%
1.5Numba 1.201.2075,208160  99% 0% 0% 0%
1.6Python 2 #3 0.670.677,284181  99% 2% 3% 6%
1.6Jython #3 4.421.78246,336181  79% 62% 61% 47%
1.6Pyston #3 0.060.06?181  0% 0% 0% 100%
1.6Python 2 #3 0.670.677,384181  12% 2% 6% 100%
1.6Pyston #3 0.060.06?181  14% 0% 0% 100%
1.6Pyston #3 0.060.06?181  0% 0% 0% 100%
1.6Python 2 #3 0.670.677,240181  1% 100% 3% 0%
1.6PyPy 2 #3 0.260.271,068181  4% 0% 100% 0%
1.6Jython #3 4.771.90272,324181  73% 84% 58% 36%
1.6PyPy 2 #3 0.260.261,000181  4% 0% 4% 100%
1.6PyPy 2 #3 0.260.281,068181  4% 93% 0% 0%
1.6Jython #3 4.571.80255,888181  73% 69% 61% 51%
1.6IronPython #3 5.865.8650,872181  0% 0% 100% 0%
1.6IronPython #3 5.865.8755,276181  0% 100% 0% 0%
1.6IronPython #3 5.865.8653,032181  100% 0% 0% 0%
1.7Python 3 #3 0.680.689,480182  6% 0% 3% 97%
1.7Nuitka #3 0.680.6810,660182  6% 82% 9% 19%
1.7Python 3 #3 0.680.689,316182  6% 0% 100% 0%
1.7PyPy 3 #3 0.270.281,056182  100% 0% 0% 4%
1.7PyPy 3 #3 0.270.28960182  100% 0% 0% 4%
1.7RustPython #3 1.061.0720,188182  28% 47% 72% 21%
1.7Nuitka #3 0.680.6910,844182  9% 3% 41% 100%
1.7Python development version #3 0.670.678,396182  13% 10% 100% 10%
1.7Python development version #3 0.660.678,256182  14% 8% 11% 100%
1.7RustPython #3 1.061.1120,132182  100% 20% 19% 20%
1.7MicroPython #3 82.0582.603,128182  48% 13% 48% 2%
1.7Python development version #3 0.670.678,360182  11% 12% 100% 6%
1.7MicroPython #3 82.0282.383,160182  51% 13% 46% 3%
1.7PyPy 3 #3 0.270.271,064182  7% 100% 4% 0%
1.7Python 3 #3 0.680.689,444182  18% 6% 85% 0%
1.7RustPython #3 1.041.1020,072182  100% 13% 15% 16%
1.7MicroPython #3 82.0284.113,180182  18% 60% 23% 7%
1.7Nuitka #3 0.680.6810,732182  4% 100% 7% 0%
1.7Cython #3 0.670.689,812184  7% 4% 0% 99%
1.7Cython #3 0.670.709,620184  100% 1% 1% 0%
1.7Cython #3 0.670.719,420184  100% 24% 0% 0%
missing benchmark programs
Shedskin No program

 fibonacci benchmark : Calculate Fibonacci sequence

 

Revised BSD license

  Home   Conclusions   License   Play