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.0RustPython #3 0.120.12?182  8% 0% 0% 100% 0% 0% 0% 0%
1.4PyPy 3 #3 0.160.16?182  94% 0% 6% 6% 0% 0% 0% 0%
1.5PyPy 2 #3 0.170.17?181  6% 0% 0% 0% 0% 6% 11% 100%
4.2Python 2 #3 0.490.496,772181  0% 100% 2% 0% 0% 0% 0% 0%
4.2Python development version #3 0.490.509,384182  0% 0% 0% 100% 2% 0% 6% 0%
5.8Graal #3 1.690.68568,420182  60% 19% 53% 28% 13% 90% 17% 47%
6.2Python development version 0.730.7329,844137  1% 1% 100% 0% 1% 3% 1% 1%
14Numba 1.571.59120,220164  38% 28% 31% 98% 41% 51% 31% 52%
22Jython #3 6.152.553,400181  22% 59% 28% 7% 24% 41% 29% 33%
31RustPython #2 3.653.6515,716110  2% 0% 1% 1% 0% 100% 1% 1%
51PyPy 3 #2 5.985.9874,680110  0% 100% 0% 0% 0% 1% 0% 2%
52PyPy 2 #2 6.046.0581,492110  100% 0% 0% 0% 0% 0% 1% 0%
65Python development version #2 7.657.669,240110  1% 0% 100% 0% 0% 0% 1% 1%
77Python 2 #2 9.029.0238,440110  0% 0% 0% 0% 0% 0% 100% 0%
123Graal #2 15.7914.42759,600110  20% 14% 13% 16% 7% 10% 8% 100%
148Jython #2 22.5417.273,364110  8% 59% 8% 27% 7% 8% 7% 8%
345MicroPython #3 40.3640.372,768182  1% 0% 0% 1% 0% 100% 1% 1%
523MicroPython #2 61.2261.234,172110  2% 1% 1% 1% 1% 0% 0% 100%
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