/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 4.784.7881227  1% 1% 0% 100%
37C gcc #3 1.661.672961321  1% 0% 0% 99%
37C gcc #2 2.062.062961168  1% 0% 0% 100%
79C++ g++ 3.003.006321470  0% 1% 100% 0%
79C++ g++ #2 2.162.166321474  2% 0% 100% 1%
91Go #2 1.711.717241236  2% 1% 100% 3%
91Go #3 1.711.717241237  14% 99% 12% 49%
155Ada 2005 GNAT #2 1.992.001,2361909  0% 2% 100% 0%
285Perl 210.29210.422,2801112  90% 0% 0% 11%
286Perl #6 86.1986.222,288854  1% 100% 0% 0%
624Lisp SBCL #4 9.399.394,9922005  1% 100% 0% 1%
1,932C# Mono 2.292.3015,4521438  99% 0% 0% 1%
1,936C# Mono #3 2.392.3915,4881441  0% 99% 3% 1%
1,987Java  #3 2.031.9815,8961443  82% 19% 2% 2%
2,141Scala #3 3.443.3717,1281435  1% 1% 2% 100%
2,181F# Mono #2 3.373.3817,4441074  0% 1% 1% 100%
3,027Scala #2 4.384.1124,2161372  3% 1% 100% 4%
9,098Clojure #5 20.4811.8372,7801399  18% 32% 38% 86%
9,404Clojure #6 19.9711.6275,2321428  26% 29% 47% 71%
9,490Clojure #4 20.2212.1675,9201503  64% 31% 31% 42%
24,427Ruby #6 175.59178.59195,416772  13% 24% 32% 33%
35,464Dart 7.267.21283,7121464  1% 99% 1% 1%
"wrong" (different) algorithm / less comparable programs
64Fortran Intel #2 3.383.395121369
110C++ g++ #5 0.230.238801753
706Python 3 #6 68.7868.815,648900
757Lisp SBCL #5 3.023.026,0522343
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
PHP 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