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.16?1169  7% 94% 0% 0%
1.1Cython 0.170.17?1169  0% 11% 100% 12%
1.1Cython 0.170.17?1169  0% 25% 0% 100%
1.6PyPy 2 0.260.261,4961115  11% 4% 100% 4%
1.6PyPy 3 #7 0.260.261,2401115  8% 100% 0% 0%
1.6PyPy 3 #7 0.260.261,3281115  4% 0% 4% 100%
1.7Nuitka 0.260.261,7441115  100% 8% 4% 4%
1.7Nuitka #7 0.260.267321115  7% 7% 100% 4%
1.7PyPy 2 0.250.271,5601115  96% 0% 7% 0%
1.7Python development version 0.270.271,9281115  4% 100% 0% 0%
1.7PyPy 3 0.260.271,3121115  97% 4% 0% 0%
1.7Python development version 0.270.281,8161115  0% 100% 4% 0%
1.7PyPy 3 0.260.281,1361115  100% 0% 7% 3%
1.7Python development version #7 0.280.281,8641115  0% 7% 100% 7%
1.7Python development version #7 0.280.281,8201115  0% 100% 4% 0%
1.7Nuitka 0.270.281,7601115  15% 100% 22% 4%
1.8PyPy 3 0.280.281,3161115  7% 100% 0% 0%
1.8PyPy 2 0.270.281,5121115  100% 0% 0% 3%
1.8Nuitka 0.280.297481115  100% 10% 0% 3%
1.8Python 3 0.290.298881115  4% 100% 0% 4%
1.8Nuitka #7 0.290.291,7561115  0% 7% 0% 97%
1.8Python 3 0.290.291,7761115  10% 3% 100% 3%
1.8Python development version 0.290.291,8641115  0% 3% 6% 100%
1.8Python 3 #7 0.280.301,8681115  100% 3% 3% 3%
1.9PyPy 3 #7 0.280.301,3161115  7% 3% 0% 90%
1.9Python development version #7 0.300.301,8721115  7% 7% 93% 3%
1.9Nuitka #7 0.300.301,7801115  7% 29% 10% 100%
1.9Python 3 #7 0.290.318481115  100% 6% 3% 6%
1.9Python 3 #7 0.310.318401115  6% 13% 94% 3%
2.2Python 3 0.360.369081115  31% 23% 100% 9%
4.8PyPy 3 #6 0.760.7677,3521040  4% 100% 7% 0%
4.8PyPy 3 #6 0.770.7777,4681040  4% 100% 4% 0%
4.9PyPy 3 #6 0.740.7877,7961040  100% 0% 1% 0%
13Nuitka #6 2.092.0912,0441040  0% 5% 100% 4%
14Nuitka #6 2.172.1711,8601040  5% 7% 1% 100%
14Nuitka #6 2.192.1911,8441040  5% 9% 1% 100%
15Python development version #6 2.482.4811,0161040  100% 1% 1% 1%
16Python development version #6 2.512.5210,9881040  3% 1% 3% 99%
16Python development version #6 2.542.5511,0321040  63% 1% 39% 1%
17Python 3 #6 2.692.7011,2321040  10% 6% 6% 100%
18Python 3 #6 2.682.8211,2761040  100% 5% 4% 5%
18Python 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