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

 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.0Python development version #2 7.657.669,240110  1% 0% 100% 0% 0% 0% 1% 1%
1.0PyPy 2 #2 6.046.0581,492110  100% 0% 0% 0% 0% 0% 1% 0%
1.0Python 2 #2 9.029.0238,440110  0% 0% 0% 0% 0% 0% 100% 0%
1.0MicroPython #2 61.2261.234,172110  2% 1% 1% 1% 1% 0% 0% 100%
1.0PyPy 3 #2 5.985.9874,680110  0% 100% 0% 0% 0% 1% 0% 2%
1.0RustPython #2 3.653.6515,716110  2% 0% 1% 1% 0% 100% 1% 1%
1.0Graal #2 15.7914.42759,600110  20% 14% 13% 16% 7% 10% 8% 100%
1.0Jython #2 22.5417.273,364110  8% 59% 8% 27% 7% 8% 7% 8%
1.2Python development version 0.730.7329,844137  1% 1% 100% 0% 1% 3% 1% 1%
1.5Numba 1.571.59120,220164  38% 28% 31% 98% 41% 51% 31% 52%
1.6Jython #3 6.152.553,400181  22% 59% 28% 7% 24% 41% 29% 33%
1.6Python 2 #3 0.490.496,772181  0% 100% 2% 0% 0% 0% 0% 0%
1.6PyPy 2 #3 0.170.17?181  6% 0% 0% 0% 0% 6% 11% 100%
1.7MicroPython #3 40.3640.372,768182  1% 0% 0% 1% 0% 100% 1% 1%
1.7Python development version #3 0.490.509,384182  0% 0% 0% 100% 2% 0% 6% 0%
1.7RustPython #3 0.120.12?182  8% 0% 0% 100% 0% 0% 0% 0%
1.7Graal #3 1.690.68568,420182  60% 19% 53% 28% 13% 90% 17% 47%
1.7PyPy 3 #3 0.160.16?182  94% 0% 6% 6% 0% 0% 0% 0%
missing benchmark programs
Python 3 No program
IronPython No program
Cython No program
Nuitka No program
Shedskin No program
Pyston No program
Grumpy No program

 fibonacci benchmark : Calculate Fibonacci sequence

Revised BSD license

  Home   Conclusions   License   Play