fasta-redux benchmark N=25,000,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.

     sortsortsort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0C gcc #5 1.591.592841402  1% 1% 100% 0%
1.0C gcc #3 1.671.672841321  1% 1% 0% 100%
1.2Java  #3 1.921.8719,7921443  2% 2% 2% 99%
1.3Ada 2005 GNAT #2 1.992.001,2081909  0% 1% 100% 2%
1.3Go #3 2.032.047721237  1% 0% 1% 100%
1.3Go #2 2.032.047721236  0% 1% 99% 1%
1.3C gcc #2 2.072.072841168  2% 100% 0% 0%
1.4C++ g++ #2 2.162.176201474  1% 100% 0% 0%
1.4C# Mono 2.302.3019,3201438  0% 99% 2% 0%
1.5C# Mono #3 2.382.3919,3601441  0% 99% 1% 1%
1.9C++ g++ 3.003.016201470  1% 100% 0% 1%
2.2Scala #3 3.453.3722,2841435  3% 100% 1% 2%
2.2F# Mono #2 3.553.5622,4761074  0% 99% 1% 0%
2.7Scala #2 4.304.0427,0081372  2% 65% 38% 3%
3.0Pascal Free Pascal 4.784.7881227  1% 0% 1% 100%
3.4Dart 5.365.3243,4321464  2% 1% 0% 100%
5.6Lisp SBCL #4 8.918.928,9802005  1% 1% 100% 1%
5.8Clojure #6 9.278.0357,2921428  25% 77% 13% 4%
6.0Clojure #5 9.498.2357,9401399  89% 14% 6% 8%
8.6Clojure #4 13.6411.5656,7641503  9% 39% 66% 8%
42PHP #4 66.7766.792,5961110  1% 0% 0% 100%
54Perl #6 86.1986.222,288854  1% 100% 0% 0%
117Ruby #6 186.90187.40199,364772  46% 20% 29% 9%
132Perl 210.29210.422,2801112  90% 0% 0% 11%
"wrong" (different) algorithm / less comparable programs
0.1C++ g++ #5 0.230.248721753
1.9Lisp SBCL #5 2.992.999,8042343
2.1Fortran Intel #2 3.383.395121369
2.4Python 3 #7 3.753.767,928972
43Python 3 #6 68.7868.815,648900
missing benchmark programs
Erlang HiPE No program
Fortran Intel No program
Haskell GHC No program
OCaml No program
Python 3 No program
Racket No program
Ruby JRuby No program
Rust No program

 fasta-redux benchmark : Generate and write random DNA sequences

You can write your own program for this task and contribute to the benchmarks game by following these general instructions.

More specifically:

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