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 175.59178.59195,416772  13% 24% 32% 33%
1.1Perl #6 86.1986.222,288854  1% 100% 0% 0%
1.4F# Mono #2 4.084.0823,0321074  0% 99% 2% 1%
1.4PHP #4 66.7766.792,5961110  1% 0% 0% 100%
1.4Perl 210.29210.422,2801112  90% 0% 0% 11%
1.5C gcc #2 2.072.072841168  2% 100% 0% 0%
1.6Pascal Free Pascal 4.784.7881227  1% 0% 1% 100%
1.6Go #2 2.032.047721236  0% 1% 99% 1%
1.6Go #3 2.032.047721237  1% 0% 1% 100%
1.7C gcc #3 1.671.672841321  1% 1% 0% 100%
1.8Scala #2 4.384.1124,2161372  3% 1% 100% 4%
1.8Clojure #5 11.2810.0252,4481399  7% 21% 8% 81%
1.8C gcc #5 1.591.592841402  1% 1% 100% 0%
1.8Clojure #6 10.078.8353,2601428  91% 4% 6% 15%
1.9Scala #3 3.443.3717,1281435  1% 1% 2% 100%
1.9C# Mono 2.662.6620,0961438  1% 99% 1% 2%
1.9C# Mono #3 2.742.7520,1321441  1% 3% 1% 99%
1.9Java  #3 2.031.9815,8961443  82% 19% 2% 2%
1.9Dart 5.925.8943,3281464  1% 1% 99% 2%
1.9C++ g++ 3.003.016201470  1% 100% 0% 1%
1.9C++ g++ #2 2.162.176201474  1% 100% 0% 0%
1.9Clojure #4 11.049.5051,9041503  90% 6% 15% 7%
2.5Ada 2005 GNAT #2 1.992.001,2081909  0% 1% 100% 2%
Lisp SBCL #4 Bad Output2005
"wrong" (different) algorithm / less comparable programs
1.2Python 3 #6 68.7868.815,648900
1.3Python 3 #7 3.753.767,928972
1.8Fortran Intel #2 3.383.395121369
2.3C++ g++ #5 0.230.248721753
3.0Lisp SBCL #5 2.982.997,8802343
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

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