Python Interpreters Benchmarks
x64 ArchLinux : Intel® i5-7200U®

 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.070.07?181  14% 100% 0% 12%
3.8PyPy 2 #3 0.260.281,040181  7% 7% 4% 93%
3.9PyPy 3 #3 0.270.291,028182  10% 7% 93% 4%
8.1Pyston 0.530.6044,744136  37% 28% 39% 8%
9.0Python 2 #3 0.670.677,268181  7% 100% 6% 2%
9.1Python development version #3 0.670.678,408182  6% 3% 99% 1%
9.1Cython #3 0.670.689,256184  6% 3% 99% 3%
9.2Python 3 #3 0.680.689,456182  8% 97% 4% 1%
9.6Nuitka #3 0.680.7110,488182  100% 3% 0% 0%
14Python 3 1.011.0126,060137  6% 1% 2% 100%
14Cython 1.011.0126,360138  5% 1% 100% 1%
14RustPython #3 1.031.0320,024182  6% 100% 1% 1%
14Python 2 1.001.0624,504136  10% 93% 3% 7%
16Nuitka 1.031.1827,776137  88% 9% 2% 3%
41Jython #3 6.543.013,436181  54% 45% 56% 74%
47Pyston #2 3.483.4957,200110  6% 3% 3% 99%
89PyPy 3 #2 6.586.6277,020110  7% 3% 2% 100%
96PyPy 2 #2 7.047.0885,472110  7% 3% 99% 2%
129Python 3 #2 9.529.539,100110  6% 2% 2% 100%
130Nuitka #2 9.599.6010,260110  6% 100% 2% 1%
166Python 2 #2 12.2512.2738,904110  6% 2% 1% 100%
167Python development version #2 12.3112.338,208110  6% 2% 100% 1%
220RustPython #2 16.2416.2520,392110  6% 100% 2% 1%
294Jython #2 25.4221.723,440110  34% 36% 35% 23%
611Graal #2 45.1345.21463,060110  8% 2% 2% 99%
1,108MicroPython #3 81.9682.033,004182  6% 100% 1% 1%
1,648MicroPython #2 120.97121.944,100110  21% 84% 2% 2%
missing benchmark programs
IronPython No program
Shedskin No program
Numba No program
Grumpy No program

 fibonacci benchmark : Calculate Fibonacci sequence

 

Revised BSD license

  Home   Conclusions   License   Play