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

 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.110.12?1169  100% 0% 0% 0% 0% 0% 0% 0%
1.1Pyston 0.130.13?1115  0% 100% 8% 0% 0% 0% 0% 0%
1.1Pyston #7 0.130.13?1115  7% 25% 13% 0% 69% 7% 0% 7%
1.3Python development version 0.150.15?1115  0% 7% 100% 0% 0% 0% 7% 6%
1.3Python development version #7 0.150.15?1115  12% 100% 0% 0% 0% 0% 7% 0%
1.3PyPy 3 0.150.15?1115  100% 0% 0% 0% 6% 0% 0% 0%
1.3PyPy 3 #7 0.150.15?1115  6% 100% 0% 0% 0% 12% 0% 0%
1.5Python 3 0.170.17?1115  0% 12% 88% 0% 6% 0% 11% 0%
1.5Python 3 #7 0.170.17?1115  100% 6% 6% 0% 0% 0% 0% 6%
1.6PyPy 2 0.190.19?1115  0% 0% 5% 100% 5% 5% 0% 0%
1.7Nuitka #7 0.190.19?1115  5% 0% 100% 0% 0% 0% 0% 0%
1.7Nuitka 0.190.19?1115  0% 0% 100% 0% 0% 0% 0% 0%
3.8PyPy 3 #6 0.440.4472,6921040  0% 0% 0% 100% 2% 0% 0% 2%
10Pyston #6 1.191.1911,2081040  3% 4% 3% 3% 100% 2% 2% 3%
12Nuitka #6 1.421.4214,5321040  1% 2% 0% 0% 0% 100% 0% 0%
13Python 3 #6 1.541.5414,0281040  1% 0% 100% 0% 1% 1% 0% 1%
14Python development version #6 1.561.5712,8841040  3% 1% 100% 1% 1% 3% 1% 1%
46Graal #7 8.625.34816,3761115  34% 64% 16% 22% 26% 21% 42% 13%
48Graal 9.115.56812,0961115  34% 16% 43% 44% 46% 23% 24% 28%
81Graal #6 14.329.29917,1041040  65% 17% 16% 21% 26% 60% 24% 12%
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
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