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.4PyPy 2 0.220.221,3601115  100% 5% 0% 0%
1.5PyPy 2 0.220.231,3441115  5% 5% 0% 96%
1.6PyPy 3 #7 0.250.251,1121115  4% 100% 4% 4%
1.6PyPy 3 0.250.251,1161115  0% 0% 8% 100%
1.6PyPy 3 0.250.251,0161115  8% 4% 15% 100%
1.6PyPy 3 #7 0.250.251,1121115  4% 0% 4% 100%
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.7PyPy 2 0.240.261,4201115  4% 8% 96% 4%
1.7Python development version #7 0.260.268521115  8% 0% 100% 0%
1.7Nuitka 0.270.277321115  0% 100% 0% 0%
1.7Nuitka #7 0.270.271,6921115  0% 0% 96% 4%
1.7Nuitka #7 0.270.271,7521115  0% 0% 100% 0%
1.8Nuitka 0.270.271,6561115  7% 0% 100% 0%
1.8Python development version #7 0.270.279241115  4% 7% 96% 0%
1.8Python development version 0.280.281,9561115  4% 7% 96% 0%
1.8Nuitka 0.280.281,7081115  100% 3% 0% 7%
1.9Python 3 0.290.298881115  4% 100% 0% 4%
1.9PyPy 3 #7 0.270.291,1361115  66% 10% 4% 29%
1.9Python 3 0.290.291,7761115  10% 3% 100% 3%
1.9Nuitka #7 0.290.291,6561115  3% 3% 97% 0%
1.9Python 3 #7 0.280.301,8681115  100% 3% 3% 3%
2.0Python 3 #7 0.290.318481115  100% 6% 3% 6%
2.0PyPy 3 0.290.311,1161115  6% 3% 93% 3%
2.0Python 3 #7 0.310.318401115  6% 13% 94% 3%
2.3Python 3 0.360.369081115  31% 23% 100% 9%
4.5PyPy 3 #6 0.690.6983,1401040  71% 1% 30% 3%
4.7PyPy 3 #6 0.710.7282,8841040  1% 6% 10% 100%
4.9PyPy 3 #6 0.720.7482,3681040  12% 86% 1% 1%
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%
18Python 3 #6 2.692.7011,2321040  10% 6% 6% 100%
18Python development version #6 2.702.7110,7241040  10% 2% 98% 1%
18Python 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