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  0% 0% 100% 0%
1.0Cython 0.150.15?1169  0% 94% 0% 0%
1.1Cython 0.170.17?1169  0% 0% 100% 6%
1.5PyPy 2 0.220.221,3161115  0% 13% 100% 5%
1.5PyPy 2 0.220.221,2401115  4% 0% 4% 96%
1.7PyPy 3 #7 0.250.251,1401115  4% 100% 4% 0%
1.7PyPy 2 0.230.251,3241115  92% 0% 4% 0%
1.7PyPy 3 0.250.251,1121115  11% 100% 4% 7%
1.7PyPy 3 #7 0.250.251,0841115  100% 4% 4% 7%
1.7PyPy 3 0.250.251,1041115  0% 100% 4% 0%
1.7Nuitka #7 0.260.261,8441115  11% 100% 0% 0%
1.8PyPy 3 0.270.271,1081115  4% 4% 0% 100%
1.8Nuitka 0.270.277561115  7% 0% 100% 0%
1.8Python development version 0.270.271,9281115  4% 100% 0% 0%
1.8Python development version 0.270.281,8161115  0% 100% 4% 0%
1.8Python development version #7 0.280.281,8641115  0% 7% 100% 7%
1.8Python development version #7 0.280.281,8201115  0% 100% 4% 0%
1.9PyPy 3 #7 0.270.281,0481115  3% 93% 3% 3%
1.9Python 3 0.290.298881115  4% 100% 0% 4%
1.9Nuitka 0.290.291,8921115  10% 100% 7% 3%
1.9Python 3 0.290.291,7761115  10% 3% 100% 3%
1.9Nuitka #7 0.290.297321115  4% 7% 0% 100%
1.9Nuitka #7 0.280.297081115  97% 3% 17% 3%
1.9Nuitka 0.290.297441115  14% 100% 10% 17%
1.9Python development version 0.290.291,8641115  0% 3% 6% 100%
2.0Python 3 #7 0.280.301,8681115  100% 3% 3% 3%
2.0Python development version #7 0.300.301,8721115  7% 7% 93% 3%
2.0Python 3 #7 0.290.318481115  100% 6% 3% 6%
2.1Python 3 #7 0.310.318401115  6% 13% 94% 3%
2.4Python 3 0.360.369081115  31% 23% 100% 9%
4.6PyPy 3 #6 0.690.7081,8081040  100% 1% 3% 3%
4.7PyPy 3 #6 0.700.7181,5081040  1% 100% 4% 3%
4.8PyPy 3 #6 0.710.7381,5641040  5% 3% 3% 96%
14Nuitka #6 2.152.1612,4121040  7% 100% 2% 3%
15Nuitka #6 2.242.2412,2321040  9% 7% 100% 3%
15Nuitka #6 2.252.2612,2921040  8% 2% 100% 3%
16Python development version #6 2.482.4811,0161040  100% 1% 1% 1%
17Python development version #6 2.512.5210,9881040  3% 1% 3% 99%
17Python development version #6 2.542.5511,0321040  63% 1% 39% 1%
18Python 3 #6 2.692.7011,2321040  10% 6% 6% 100%
19Python 3 #6 2.682.8211,2761040  100% 5% 4% 5%
19Python 3 #6 2.822.9011,2081040  56% 22% 55% 8%
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

 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