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  6% 0% 100% 0%
1.0Cython 0.150.16?1169  0% 0% 100% 0%
1.1Cython 0.170.17?1169  6% 100% 0% 0%
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.7PyPy 2 0.240.261,4201115  4% 8% 96% 4%
1.7Nuitka #7 0.260.271,7321115  0% 4% 0% 100%
1.7Nuitka #7 0.270.271,7521115  4% 4% 4% 100%
1.7Nuitka 0.270.271,8721115  7% 4% 4% 100%
1.7Nuitka 0.270.271,8681115  96% 7% 0% 0%
1.8Python 3 0.290.298881115  4% 100% 0% 4%
1.8PyPy 3 #7 0.270.291,1361115  66% 10% 4% 29%
1.9Python 3 0.290.291,7761115  10% 3% 100% 3%
1.9Python development version #7 0.290.291,9201115  0% 7% 100% 0%
1.9Python 3 #7 0.280.301,8681115  100% 3% 3% 3%
1.9Nuitka 0.280.301,8601115  0% 100% 0% 0%
1.9Python development version 0.290.301,9521115  0% 3% 0% 100%
1.9Python development version #7 0.300.301,9601115  3% 3% 0% 97%
1.9Nuitka #7 0.280.301,8881115  0% 97% 0% 7%
2.0Python 3 #7 0.290.318481115  100% 6% 3% 6%
2.0PyPy 3 0.290.311,1161115  6% 3% 93% 3%
2.0Python development version 0.290.311,8881115  3% 100% 0% 0%
2.0Python 3 #7 0.310.318401115  6% 13% 94% 3%
2.0Python development version 0.310.321,9161115  100% 15% 3% 3%
2.1Python development version #7 0.320.321,9721115  0% 3% 100% 0%
2.3Python 3 0.360.369081115  31% 23% 100% 9%
4.4PyPy 3 #6 0.690.6983,1401040  71% 1% 30% 3%
4.6PyPy 3 #6 0.710.7282,8841040  1% 6% 10% 100%
4.8PyPy 3 #6 0.720.7482,3681040  12% 86% 1% 1%
14Nuitka #6 2.122.1212,3241040  20% 6% 82% 1%
14Nuitka #6 2.132.1312,1001040  1% 6% 0% 100%
14Nuitka #6 2.152.1612,0841040  0% 5% 1% 100%
17Python 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%
19Python development version #6 2.932.9310,5041040  1% 5% 0% 100%
19Python development version #6 2.932.9410,4081040  0% 5% 1% 100%
19Python development version #6 2.912.9910,4961040  1% 58% 1% 44%
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