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.150.15?1169  6% 100% 0% 0%
1.0Cython 0.150.15?1169  6% 100% 0% 0%
1.1Cython 0.170.17?1169  0% 0% 0% 100%
1.5PyPy 2 0.230.231,0401115  4% 100% 100% 8%
1.5PyPy 2 0.230.231,0361115  100% 100% 4% 9%
1.5PyPy 3 #7 0.230.231,1401115  0% 5% 100% 4%
1.6PyPy 3 0.240.241,1681115  4% 4% 100% 4%
1.6PyPy 3 0.240.241,1801115  4% 8% 100% 0%
1.6PyPy 3 #7 0.240.241,0881115  8% 8% 100% 8%
1.6Python development version 0.250.251,8281115  4% 100% 0% 0%
1.6Python development version 0.250.251,8201115  12% 100% 0% 0%
1.7Python development version #7 0.260.261,9641115  11% 0% 100% 0%
1.7Python development version #7 0.260.268521115  8% 0% 100% 0%
1.7PyPy 2 0.250.261,1401115  7% 100% 96% 11%
1.7Nuitka #7 0.270.271,6921115  0% 0% 96% 4%
1.7Nuitka 0.270.277321115  0% 100% 0% 0%
1.7Nuitka #7 0.270.271,7521115  0% 0% 100% 0%
1.8Nuitka 0.270.271,6561115  7% 0% 100% 0%
1.8PyPy 3 0.260.271,1241115  64% 4% 0% 31%
1.8Python development version #7 0.270.279241115  4% 7% 96% 0%
1.8PyPy 3 #7 0.260.271,1241115  96% 7% 0% 0%
1.8Python development version 0.280.281,9561115  4% 7% 96% 0%
1.8Nuitka 0.280.281,7081115  100% 3% 0% 7%
1.9Nuitka #7 0.290.291,6561115  3% 3% 97% 0%
1.9Python 3 0.290.291,9801115  3% 7% 97% 0%
1.9Python 3 #7 0.290.291,8921115  0% 3% 100% 0%
1.9Python 3 0.290.291,8881115  3% 4% 0% 97%
2.0Python 3 #7 0.300.301,8921115  7% 3% 100% 0%
2.1Python 3 0.310.318881115  0% 6% 6% 97%
2.1Python 3 #7 0.300.321,8921115  0% 97% 0% 3%
4.1PyPy 3 #6 0.620.6383,4721040  100% 8% 0% 0%
4.1PyPy 3 #6 0.630.6382,9361040  0% 5% 100% 2%
4.4PyPy 3 #6 0.670.6782,9561040  3% 9% 3% 100%
14Nuitka #6 2.202.2012,3761040  0% 100% 1% 0%
15Nuitka #6 2.222.2312,1001040  0% 1% 1% 100%
15Nuitka #6 2.232.2312,3761040  1% 2% 100% 1%
17Python development version #6 2.612.6110,6001040  5% 33% 2% 68%
17Python development version #6 2.662.6710,5841040  5% 1% 100% 2%
17Python 3 #6 2.662.6710,8801040  51% 6% 50% 1%
18Python development version #6 2.702.7110,7241040  10% 2% 98% 1%
18Python 3 #6 2.782.7811,2041040  30% 7% 73% 1%
18Python 3 #6 2.802.8010,9001040  1% 6% 2% 100%
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