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.160.16?1169  67% 7% 12% 100%
1.3PyPy 3 0.200.20?1115  22% 100% 5% 5%
1.5Pyston #7 0.230.231,4201115  8% 12% 100% 0%
1.5Pyston 0.230.241,4161115  100% 5% 8% 0%
1.5Python development version #7 0.240.241,7081115  16% 0% 4% 100%
1.5Python development version 0.240.241,6321115  16% 92% 8% 8%
1.5PyPy 3 #7 0.240.251,0441115  68% 31% 54% 28%
1.6Nuitka #7 0.250.251,5041115  12% 100% 8% 0%
1.6Nuitka 0.250.251,4481115  8% 100% 4% 4%
1.7PyPy 2 0.250.271,0001115  4% 92% 7% 0%
1.8Python 3 0.280.281,6881115  7% 97% 7% 7%
1.8Python 3 #7 0.290.291,6641115  10% 7% 100% 3%
4.1PyPy 3 #6 0.620.6576,7361040  97% 2% 2% 2%
13Nuitka #6 1.972.0712,3921040  100% 2% 2% 1%
14Pyston #6 2.302.3110,9481040  6% 3% 100% 2%
15Python 3 #6 2.332.3310,9361040  6% 100% 1% 1%
15Python 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
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