/mobile Handheld Friendly website

 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 8.048.0481227  0% 0% 100% 0%
46ATS #4 1.881.883642593  0% 1% 0% 100%
47C gcc #3 1.601.613721321  0% 0% 99% 1%
47C gcc #2 2.002.013761168  0% 0% 100% 1%
104C++ g++ #2 1.701.718321474  0% 0% 1% 100%
104C++ g++ 2.512.518321470  0% 1% 100% 0%
159Go #3 1.961.971,2721237  1% 0% 1% 100%
159Go #2 1.961.971,2721236  0% 100% 0% 1%
188Ada 2005 GNAT #2 2.032.031,5001909  0% 0% 1% 100%
364Perl 182.94183.022,9121112  1% 100% 0% 1%
763Lisp SBCL #4 6.056.066,1002005  0% 0% 0% 100%
1,906C# Mono 2.802.8115,2441438  1% 2% 98% 0%
1,925C# Mono #3 2.952.9615,3961441  1% 0% 100% 1%
2,164Java 7  #3 2.562.5217,3081443  0% 1% 1% 100%
2,192F# Mono #2 3.043.0417,5321074  0% 1% 100% 1%
4,240Scala #2 5.004.7033,9161372  5% 1% 100% 2%
6,861Clojure #4 10.899.2754,8841503  6% 97% 8% 7%
"wrong" (different) algorithm / less comparable programs
64Fortran Intel #2 3.383.395081369
134C++ g++ #5 0.210.211,0721753
961Lisp SBCL #5 2.042.047,6842343
1,037Python 3 #6 58.0858.108,296900
1,690Python 3 #7 3.563.5613,520972
missing benchmark programs
Dart No program
Erlang No program
Erlang HiPE No program
Fortran Intel No program
Haskell GHC No program
OCaml No program
PHP No program
Python 3 No program
Racket No program
Ruby 2.0 No program
Ruby JRuby 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