Python Interpreters Benchmarks
x64 ArchLinux : AMD® Ryzen 7 4700U®

 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.0PyPy 3 #3 0.160.18?182  0% 0% 0% 0% 0% 0% 0% 89%
1.1PyPy 2 #3 0.170.19?181  5% 0% 0% 0% 0% 0% 89% 0%
2.7Python 2 #3 0.490.496,772181  0% 100% 2% 0% 0% 0% 0% 0%
2.8Python development version #3 0.490.509,904182  13% 4% 8% 2% 98% 14% 10% 6%
2.8Cython #3 0.500.509,412184  0% 100% 0% 0% 2% 0% 2% 0%
2.8Nuitka #3 0.500.5111,424182  4% 100% 0% 0% 0% 2% 0% 0%
3.1Python 3 #3 0.560.568,584182  12% 50% 17% 5% 54% 7% 11% 2%
3.8Graal #3 1.690.68568,420182  60% 19% 53% 28% 13% 90% 17% 47%
4.0Nuitka 0.730.7328,464137  1% 0% 0% 100% 0% 0% 1% 1%
4.1Cython 0.730.7327,196138  0% 0% 1% 0% 0% 0% 100% 0%
4.2RustPython #3 0.750.7516,864182  0% 0% 0% 1% 0% 0% 1% 100%
4.5Python 3 0.800.8127,372137  99% 6% 3% 5% 0% 0% 4% 7%
8.8Numba 1.571.59120,220164  38% 28% 31% 98% 41% 51% 31% 52%
14Jython #3 6.152.553,400181  22% 59% 28% 7% 24% 41% 29% 33%
33PyPy 3 #2 5.955.9772,928110  1% 100% 0% 0% 0% 0% 0% 0%
34PyPy 2 #2 6.016.0377,596110  1% 0% 0% 0% 1% 0% 100% 0%
43Nuitka #2 7.777.7711,168110  3% 1% 0% 0% 1% 100% 0% 0%
43Python development version #2 7.797.809,792110  12% 100% 5% 5% 7% 8% 7% 7%
44RustPython #2 7.998.0016,652110  100% 0% 0% 0% 0% 0% 0% 1%
50Python 2 #2 9.029.0238,440110  0% 0% 0% 0% 0% 0% 100% 0%
51Python 3 #2 9.159.158,560110  9% 9% 7% 6% 2% 3% 2% 100%
80Graal #2 15.7914.42759,600110  20% 14% 13% 16% 7% 10% 8% 100%
96Jython #2 22.5417.273,364110  8% 59% 8% 27% 7% 8% 7% 8%
224MicroPython #3 40.3040.313,296182  0% 0% 0% 0% 100% 0% 0% 0%
328MicroPython #2 59.1259.124,312110  0% 0% 0% 0% 0% 100% 0% 0%
missing benchmark programs
IronPython No program
Shedskin No program
Pyston No program
Grumpy No program

 fibonacci benchmark : Calculate Fibonacci sequence

Revised BSD license

  Home   Conclusions   License   Play