fasta-redux benchmark N=25,000,000

Each chart bar shows how many times more Code, one ↓ fasta-redux program used, compared to the program that used least Code.

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.0Ruby #6 111.03111.08251,648772  0% 1% 1% 100%
1.1Perl #6 82.0582.082,656854  62% 1% 39% 1%
1.4F# Mono #2 3.143.1426,1921074  0% 1% 1% 100%
1.4PHP #4 64.6564.683,5881110  11% 26% 3% 70%
1.4Perl 182.94183.022,9121112  1% 100% 0% 1%
1.5C gcc #2 2.062.073601168  2% 0% 1% 100%
1.6Pascal Free Pascal 8.048.0581227  1% 1% 0% 100%
1.6Go #2 1.721.721,0361236  1% 1% 99% 1%
1.6Go #3 1.711.711,0361237  0% 1% 1% 99%
1.7C gcc #3 1.651.663601321  1% 0% 100% 2%
1.8Scala #2 4.794.4330,8521372  4% 42% 5% 60%
1.8Clojure #5 6.835.5167,7881399  82% 9% 11% 23%
1.8C gcc #5 1.631.643641402  2% 1% 100% 1%
1.8Clojure #6 6.605.2769,3081428  8% 97% 12% 11%
1.9Scala #3 3.203.1321,3721435  1% 2% 21% 81%
1.9C# Mono 2.682.6820,2881438  0% 100% 2% 1%
1.9C# Mono #3 2.862.8622,3641441  0% 1% 2% 100%
1.9Java  #3 2.632.5819,9601443  77% 1% 24% 2%
1.9Dart 7.627.5679,9961464  34% 2% 1% 66%
1.9C++ g++ 2.562.568281470  1% 0% 100% 2%
1.9C++ g++ #2 1.781.788241474  0% 2% 100% 1%
1.9Clojure #4 8.176.5868,6361503  10% 40% 69% 6%
2.5Ada 2005 GNAT #2 2.062.061,4881909  0% 1% 0% 100%
Lisp SBCL #4 Bad Output2005
"wrong" (different) algorithm / less comparable programs
1.2Python 3 #6 55.8355.857,732900
1.3Python 3 #7 3.633.6312,888972
1.8Fortran Intel #2 3.383.395081369
2.3C++ g++ #5 0.260.261,0681753
3.0Lisp SBCL #5 2.042.0411,2602343
missing benchmark programs
Erlang No program
Erlang HiPE No program
Fortran Intel No program
Haskell GHC No program
Hack 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