fasta-redux benchmark N=25,000,000

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

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.

    sortsort sort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Pascal Free Pascal 4.784.7881227  1% 0% 1% 100%
36C gcc #5 1.591.592841402  1% 1% 100% 0%
36C gcc #3 1.671.672841321  1% 1% 0% 100%
36C gcc #2 2.072.072841168  2% 100% 0% 0%
78C++ g++ 3.003.016201470  1% 100% 0% 1%
78C++ g++ #2 2.162.176201474  1% 100% 0% 0%
97Go #3 2.032.047721237  1% 0% 1% 100%
97Go #2 2.032.047721236  0% 1% 99% 1%
151Ada 2005 GNAT #2 1.992.001,2081909  0% 1% 100% 2%
285Perl 210.29210.422,2801112  90% 0% 0% 11%
286Perl #6 86.1986.222,288854  1% 100% 0% 0%
325PHP #4 66.7766.792,5961110  1% 0% 0% 100%
1,987Java  #3 2.031.9815,8961443  82% 19% 2% 2%
2,141Scala #3 3.443.3717,1281435  1% 1% 2% 100%
2,443C# Mono 2.302.3019,5441438  100% 0% 1% 3%
2,448C# Mono #3 2.382.3919,5841441  0% 0% 100% 1%
2,707F# Mono #2 3.483.4821,6521074  99% 1% 1% 1%
3,027Scala #2 4.384.1124,2161372  3% 1% 100% 4%
6,488Clojure #4 11.049.5051,9041503  90% 6% 15% 7%
6,556Clojure #5 11.2810.0252,4481399  7% 21% 8% 81%
6,658Clojure #6 10.078.8353,2601428  91% 4% 6% 15%
7,197Dart 6.015.9757,5761464  1% 1% 2% 99%
24,427Ruby #6 175.59178.59195,416772  13% 24% 32% 33%
Lisp SBCL #4 Bad Output2005
"wrong" (different) algorithm / less comparable programs
64Fortran Intel #2 3.383.395121369
109C++ g++ #5 0.230.248721753
706Python 3 #6 68.7868.815,648900
985Lisp SBCL #5 2.982.997,8802343
991Python 3 #7 3.753.767,928972
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