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.130.13?1169  8% 100% 0% 0%
1.0Cython 0.130.13?1169  0% 100% 0% 0%
1.1Cython 0.140.15?1169  7% 0% 7% 100%
1.8PyPy 2 0.230.239841115  9% 100% 4% 0%
1.8Nuitka 0.230.231,5521115  27% 0% 78% 4%
1.8Nuitka #7 0.230.237361115  12% 4% 100% 9%
1.9Nuitka #7 0.230.241,3961115  100% 0% 0% 8%
1.9Nuitka 0.230.241,4881115  96% 4% 0% 0%
1.9PyPy 2 0.230.241,0601115  100% 0% 0% 8%
1.9PyPy 3 0.240.249681115  8% 0% 0% 100%
1.9PyPy 3 #7 0.240.241,0801115  8% 100% 8% 0%
1.9PyPy 3 #7 0.240.241,0881115  4% 96% 0% 0%
1.9PyPy 3 0.250.259721115  8% 0% 100% 4%
2.0Nuitka #7 0.250.251,3961115  4% 4% 100% 4%
2.0Python development version 0.250.251,8281115  4% 100% 0% 0%
2.0Python development version 0.250.251,8201115  12% 100% 0% 0%
2.0Python development version #7 0.260.261,9641115  11% 0% 100% 0%
2.0Nuitka 0.260.261,5561115  4% 4% 100% 0%
2.0Python development version #7 0.260.268521115  8% 0% 100% 0%
2.1PyPy 2 0.250.271,0561115  7% 96% 0% 0%
2.1Python 3 #7 0.270.271,7801115  11% 0% 0% 100%
2.1Python 3 0.270.271,8801115  4% 0% 0% 100%
2.1Python 3 #7 0.270.279041115  7% 100% 0% 0%
2.1Python 3 0.270.278361115  10% 100% 0% 0%
2.2Python development version #7 0.270.279241115  4% 7% 96% 0%
2.2PyPy 3 0.260.281,0681115  7% 96% 0% 0%
2.2Python development version 0.280.281,9561115  4% 7% 96% 0%
2.2PyPy 3 #7 0.260.281,0481115  7% 93% 3% 0%
2.3Python 3 #7 0.290.291,7881115  4% 0% 3% 100%
2.4Python 3 0.290.301,9001115  100% 0% 0% 3%
5.1PyPy 3 #6 0.610.6483,0161040  100% 3% 0% 0%
5.1PyPy 3 #6 0.620.6482,7641040  83% 0% 18% 0%
5.4PyPy 3 #6 0.640.6981,6681040  99% 4% 0% 0%
15Nuitka #6 1.911.9112,5001040  5% 57% 1% 43%
15Nuitka #6 1.911.9212,6601040  5% 100% 0% 2%
16Nuitka #6 1.981.9912,4961040  5% 100% 2% 1%
21Python development version #6 2.612.6110,6001040  5% 33% 2% 68%
21Python 3 #6 2.612.6111,3641040  5% 100% 2% 0%
21Python development version #6 2.662.6710,5841040  5% 1% 100% 2%
21Python 3 #6 2.662.6711,3441040  6% 1% 0% 100%
21Python 3 #6 2.632.6811,3201040  47% 1% 58% 1%
21Python 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