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% 100% 0% 6%
1.0Cython 0.150.15?1169  7% 100% 0% 0%
1.1Cython 0.170.17?1169  6% 100% 0% 6%
1.7PyPy 2 0.250.251,3041115  8% 11% 100% 4%
1.7PyPy 2 0.260.261,2721115  15% 12% 100% 8%
1.7Nuitka 0.260.261,7441115  100% 8% 4% 4%
1.7Nuitka #7 0.260.267321115  7% 7% 100% 4%
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.8Nuitka 0.270.281,7601115  15% 100% 22% 4%
1.8PyPy 2 0.270.281,2441115  7% 0% 29% 69%
1.9PyPy 3 #7 0.280.289961115  10% 10% 3% 100%
1.9PyPy 3 0.280.281,0241115  7% 7% 100% 0%
1.9Nuitka 0.280.297481115  100% 10% 0% 3%
1.9Python 3 0.290.298881115  4% 100% 0% 4%
1.9PyPy 3 0.290.291,0081115  10% 3% 100% 3%
1.9Python 3 0.290.291,7761115  10% 3% 100% 3%
1.9Nuitka #7 0.290.291,7561115  0% 7% 0% 97%
1.9PyPy 3 #7 0.290.291,1081115  7% 7% 100% 7%
1.9Python development version 0.290.291,8641115  0% 3% 6% 100%
1.9Python 3 #7 0.280.301,8681115  100% 3% 3% 3%
1.9Python development version #7 0.300.301,8721115  7% 7% 93% 3%
2.0Nuitka #7 0.300.301,7801115  7% 29% 10% 100%
2.0Python 3 #7 0.290.318481115  100% 6% 3% 6%
2.0Python 3 #7 0.310.318401115  6% 13% 94% 3%
2.1PyPy 3 0.300.321,0281115  13% 6% 9% 94%
2.1PyPy 3 #7 0.300.329881115  13% 9% 15% 94%
2.3Python 3 0.360.369081115  31% 23% 100% 9%
5.2PyPy 3 #6 0.800.8079,3641040  8% 100% 3% 6%
5.4PyPy 3 #6 0.820.8381,9481040  23% 6% 86% 9%
5.6PyPy 3 #6 0.850.8682,0601040  6% 4% 5% 100%
14Nuitka #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%
16Python development version #6 2.482.4811,0161040  100% 1% 1% 1%
16Python 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%
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