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.140.14?1169  8% 100% 0% 0%
1.0Cython 0.140.14?1169  0% 100% 0% 0%
1.1Cython 0.160.16?1169  0% 0% 94% 6%
1.7PyPy 2 0.230.231,0401115  4% 100% 100% 8%
1.7PyPy 2 0.230.231,0361115  100% 100% 4% 9%
1.7PyPy 3 #7 0.230.231,1401115  0% 5% 100% 4%
1.7PyPy 3 0.240.241,1681115  4% 4% 100% 4%
1.7PyPy 3 0.240.241,1801115  4% 8% 100% 0%
1.8PyPy 3 #7 0.240.241,0881115  8% 8% 100% 8%
1.8Python development version 0.250.251,8281115  4% 100% 0% 0%
1.8Python development version 0.250.251,8201115  12% 100% 0% 0%
1.9Python development version #7 0.260.261,9641115  11% 0% 100% 0%
1.9Python development version #7 0.260.268521115  8% 0% 100% 0%
1.9Python 3 #7 0.260.261,9321115  4% 100% 0% 0%
1.9Python 3 #7 0.260.268601115  7% 7% 0% 100%
1.9PyPy 2 0.250.261,1401115  7% 100% 96% 11%
1.9Python 3 0.260.271,8161115  4% 0% 4% 96%
1.9Nuitka #7 0.270.271,6921115  0% 0% 96% 4%
1.9Nuitka 0.270.277321115  0% 100% 0% 0%
1.9Nuitka #7 0.270.271,7521115  0% 0% 100% 0%
2.0Nuitka 0.270.271,6561115  7% 0% 100% 0%
2.0PyPy 3 0.260.271,1241115  64% 4% 0% 31%
2.0PyPy 3 #7 0.260.271,1241115  96% 7% 0% 0%
2.0Python development version #7 0.270.279241115  4% 7% 96% 0%
2.0Python 3 0.270.288841115  97% 0% 0% 0%
2.1Python development version 0.280.281,9561115  4% 7% 96% 0%
2.1Nuitka 0.280.281,7081115  100% 3% 0% 7%
2.1Python 3 #7 0.290.291,8201115  4% 0% 100% 0%
2.1Python 3 0.290.291,9521115  7% 0% 0% 100%
2.1Nuitka #7 0.290.291,6561115  3% 3% 97% 0%
4.6PyPy 3 #6 0.620.6383,4721040  100% 8% 0% 0%
4.6PyPy 3 #6 0.630.6382,9361040  0% 5% 100% 2%
4.9PyPy 3 #6 0.670.6782,9561040  3% 9% 3% 100%
16Nuitka #6 2.202.2012,3761040  0% 100% 1% 0%
16Nuitka #6 2.222.2312,1001040  0% 1% 1% 100%
16Nuitka #6 2.232.2312,3761040  1% 2% 100% 1%
19Python development version #6 2.612.6110,6001040  5% 33% 2% 68%
19Python 3 #6 2.622.6211,0321040  5% 0% 1% 100%
19Python development version #6 2.662.6710,5841040  5% 1% 100% 2%
20Python 3 #6 2.682.6811,0801040  5% 0% 1% 100%
20Python 3 #6 2.592.7111,1041040  100% 0% 0% 0%
20Python development version #6 2.702.7110,7241040  10% 2% 98% 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