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

 fasta-redux benchmark N=2,500,000

Each chart bar shows how many times slower, one ↓ fasta-redux 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.0Cython 0.170.17?1169  11% 100% 0% 6%
1.3PyPy 3 #7 0.220.231,0521115  8% 92% 8% 0%
1.4Python development version #7 0.240.241,7081115  16% 0% 4% 100%
1.4Python development version 0.240.241,6321115  16% 92% 8% 8%
1.4PyPy 3 0.220.251,0361115  96% 0% 8% 0%
1.4Nuitka 0.250.251,4481115  8% 100% 4% 4%
1.4Nuitka #7 0.250.251,5041115  12% 100% 8% 0%
1.5PyPy 2 0.240.261,0401115  11% 71% 0% 27%
1.6Python 3 0.280.281,6881115  7% 97% 7% 7%
1.6Python 3 #7 0.290.291,6641115  10% 7% 100% 3%
3.8PyPy 3 #6 0.650.6776,6401040  9% 4% 96% 4%
12Nuitka #6 1.972.0712,3921040  100% 2% 2% 1%
13Python 3 #6 2.332.3310,9361040  6% 100% 1% 1%
14Python development version #6 2.382.3910,7121040  6% 100% 2% 1%
missing benchmark programs
Python 2 No program
Jython No program
IronPython No program
Shedskin No program
Numba No program
Pyston No program
MicroPython No program
Grumpy No program
Graal No program
RustPython No program

 fasta-redux benchmark : Generate and write random DNA sequences

diff program output N = 1000 with this 10KB output file to check your program is correct before contributing.

We are trying to show the performance of various programming language implementations - so we ask that contributed programs not only give the correct result, but also use the same algorithm to calculate that result.

Each program should

Revised BSD license

  Home   Conclusions   License   Play