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 110.31110.37251,572772  0% 0% 1% 100%
1.1Perl #6 77.8377.862,360854  1% 0% 0% 100%
1.4F# Mono #2 3.083.0825,3921074  2% 1% 0% 100%
1.4PHP #4 65.1065.173,5881110  1% 1% 3% 100%
1.4Perl 177.27179.082,6441112  1% 1% 1% 99%
1.5C gcc #2 2.062.073601168  0% 1% 1% 100%
1.6Pascal Free Pascal 8.048.0581227  1% 0% 0% 100%
1.6Go #2 1.711.711,0361236  2% 3% 1% 100%
1.6Go #3 1.711.721,0361237  1% 1% 1% 100%
1.7C gcc #3 1.661.663601321  1% 2% 0% 100%
1.8Scala #2 4.654.6631,0961372  1% 1% 1% 100%
1.8Clojure #5 6.906.9164,5601399  1% 0% 1% 100%
1.8C gcc #5 1.631.633601402  1% 0% 2% 100%
1.8Clojure #6 7.747.7463,7721428  1% 1% 0% 100%
1.9Scala #3 3.163.1621,3281435  1% 1% 1% 100%
1.9C# Mono 2.682.6820,3961438  3% 1% 1% 100%
1.9C# Mono #3 2.872.8720,3961441  1% 2% 1% 100%
1.9Java  #3 2.602.6119,9001443  1% 0% 1% 100%
1.9Dart 7.577.5862,6681464  1% 1% 0% 100%
1.9C++ g++ 2.562.568241470  1% 0% 1% 100%
1.9C++ g++ #2 1.751.758281474  0% 2% 3% 100%
1.9Clojure #4 7.817.8163,3121503  0% 1% 1% 100%
2.3Smalltalk VisualWorks 33.3033.3141,2801772  0% 0% 0% 100%
2.5Ada 2005 GNAT #2 2.062.061,4921909  0% 1% 2% 100%
Lisp SBCL #4 Bad Output2005
"wrong" (different) algorithm / less comparable programs
1.2Python 3 #6 55.7455.767,732900
1.3Python 3 #7 3.653.6512,892972
1.8Fortran Intel #2 3.393.405081369
2.3C++ g++ #5 0.250.261,0681753
3.0Lisp SBCL #5 2.052.0511,2642343
missing benchmark programs
Erlang HiPE No program
Fortran Intel No program
Haskell GHC No program
Hack No program
JavaScript V8 No program
Lua 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