/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%
45C gcc #3 1.651.663601321  1% 0% 100% 2%
45C gcc #2 2.062.073601168  2% 0% 1% 100%
103C++ g++ #2 1.781.788241474  0% 2% 100% 1%
104C++ g++ 2.562.568281470  1% 0% 100% 2%
125Go #2 1.791.799961236  100% 1% 0% 0%
125Go #3 1.791.799961237  4% 100% 3% 0%
188Ada 2005 GNAT #2 2.032.041,5001909  1% 0% 0% 100%
332Perl #6 82.0582.082,656854  62% 1% 39% 1%
364Perl 182.94183.022,9121112  1% 100% 0% 1%
729Lisp SBCL #4 5.665.675,8282005  1% 1% 100% 0%
2,048C# Mono #3 2.862.8716,3841441  1% 0% 0% 100%
2,054C# Mono 2.682.6816,4321438  0% 0% 100% 1%
2,369F# Mono #2 2.962.9618,9481074  1% 1% 0% 100%
2,495Java  #3 2.632.5819,9601443  77% 1% 24% 2%
2,672Scala #3 3.203.1321,3721435  1% 2% 21% 81%
3,857Scala #2 4.794.4330,8521372  4% 42% 5% 60%
7,282Dart 7.697.6758,2561464  0% 1% 1% 99%
8,474Clojure #5 6.835.5167,7881399  82% 9% 11% 23%
8,580Clojure #4 8.176.5868,6361503  10% 40% 69% 6%
8,664Clojure #6 6.605.2769,3081428  8% 97% 12% 11%
31,456Ruby #6 111.03111.08251,648772  0% 1% 1% 100%
"wrong" (different) algorithm / less comparable programs
64Fortran Intel #2 3.383.395081369
134C++ g++ #5 0.260.261,0681753
927Lisp SBCL #5 2.022.027,4122343
967Python 3 #6 55.8355.857,732900
1,611Python 3 #7 3.633.6312,888972
missing benchmark programs
Erlang No program
Erlang HiPE No program
Fortran Intel No program
Haskell GHC No program
Hack 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