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.7981227  1% 0% 0% 100%
71C gcc #5 1.571.585681402  5% 0% 1% 100%
73C gcc #3 1.601.615841321  0% 1% 0% 100%
74C gcc #2 1.741.745921168  0% 2% 1% 99%
96Go #2 2.062.067641236  0% 1% 1% 100%
96Go #3 2.062.067641237  2% 0% 1% 100%
146C++ g++ #2 2.102.101,1641474  1% 0% 1% 100%
146C++ g++ 2.792.801,1641470  0% 0% 1% 100%
206Ada 2005 GNAT #2 1.991.991,6441909  3% 1% 2% 100%
283Perl 187.12187.552,2641112  1% 1% 1% 100%
316Perl #6 79.7379.762,528854  0% 0% 1% 100%
324PHP #4 67.7667.792,5921110  1% 2% 2% 100%
1,113Lisp SBCL #4 8.718.728,9002005  1% 0% 0% 100%
3,006Smalltalk VisualWorks 33.8333.8524,0441772  0% 1% 1% 100%
3,072Java  #3 2.042.0524,5761443  1% 0% 0% 100%
3,094Scala #3 3.523.5324,7481435  1% 1% 0% 100%
4,058Scala #2 4.304.3132,4641372  1% 0% 1% 100%
4,787C# Mono 2.322.3338,2921438  0% 0% 1% 100%
4,959C# Mono #3 2.412.4239,6721441  0% 1% 1% 100%
5,521F# Mono #2 4.194.1944,1681074  1% 0% 0% 100%
6,021Dart 5.325.3248,1681464  1% 0% 1% 100%
6,974Clojure #4 13.2113.2355,7921503  0% 1% 1% 100%
7,002Clojure #6 9.259.2656,0121428  1% 1% 1% 100%
7,040Clojure #5 9.439.4456,3161399  0% 1% 1% 100%
23,363Ruby #6 190.38190.68186,904772  1% 1% 1% 100%
"wrong" (different) algorithm / less comparable programs
66Fortran Intel #2 3.443.445241369
142C++ g++ #5 0.240.241,1321753
704Python 3 #6 68.7168.745,628900
1,019Python 3 #7 4.004.018,148972
1,211Lisp SBCL #5 3.013.029,6882343
missing benchmark programs
C CINT No program
Erlang HiPE No program
Fortran Intel No program
Haskell GHC 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

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