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%
95Go #2 2.052.067601236  63% 100% 1% 1%
95Go #3 2.062.067601237  1% 0% 0% 100%
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,123Lisp SBCL #4 8.918.928,9802005  1% 1% 100% 1%
2,415C# Mono 2.302.3019,3201438  0% 99% 2% 0%
2,420C# Mono #3 2.382.3919,3601441  0% 99% 1% 1%
2,474Java  #3 1.921.8719,7921443  2% 2% 2% 99%
2,786Scala #3 3.453.3722,2841435  3% 100% 1% 2%
2,810F# Mono #2 3.553.5622,4761074  0% 99% 1% 0%
3,376Scala #2 4.304.0427,0081372  2% 65% 38% 3%
5,463Dart 4.894.8543,7001464  100% 1% 1% 1%
7,096Clojure #4 13.6411.5656,7641503  9% 39% 66% 8%
7,162Clojure #6 9.278.0357,2921428  25% 77% 13% 4%
7,243Clojure #5 9.498.2357,9401399  89% 14% 6% 8%
24,921Ruby #6 186.90187.40199,364772  46% 20% 29% 9%
"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
991Python 3 #7 3.753.767,928972
1,226Lisp SBCL #5 2.992.999,8042343
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