/mobile Handheld Friendly website

 fasta-redux benchmark N=25,000,000

Each chart bar shows how many times slower, one ↓ fasta-redux program was, compared to the fastest program.

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.

     sortsortsort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0C gcc #3 1.651.663601321  1% 0% 100% 2%
1.1C++ g++ #2 1.781.788241474  0% 2% 100% 1%
1.1Go #3 1.791.799961237  4% 100% 3% 0%
1.1Go #2 1.791.799961236  100% 1% 0% 0%
1.2Ada 2005 GNAT #2 2.032.041,5001909  1% 0% 0% 100%
1.2C gcc #2 2.062.073601168  2% 0% 1% 100%
1.5C++ g++ 2.562.568281470  1% 0% 100% 2%
1.6Java  #3 2.632.5819,9601443  77% 1% 24% 2%
1.6C# Mono 2.682.6816,4321438  0% 0% 100% 1%
1.7C# Mono #3 2.862.8716,3841441  1% 0% 0% 100%
1.8F# Mono #2 2.962.9618,9481074  1% 1% 0% 100%
1.9Scala #3 3.203.1321,3721435  1% 2% 21% 81%
2.9Scala #2 4.794.4330,8521372  4% 42% 5% 60%
3.4Lisp SBCL #4 5.665.675,8282005  1% 1% 100% 0%
4.0Clojure #6 6.605.2769,3081428  8% 97% 12% 11%
4.1Clojure #5 6.835.5167,7881399  82% 9% 11% 23%
4.7Dart 7.697.6758,2561464  0% 1% 1% 99%
4.9Pascal Free Pascal 8.048.0481227  0% 0% 100% 0%
4.9Clojure #4 8.176.5868,6361503  10% 40% 69% 6%
50Perl #6 82.0582.082,656854  62% 1% 39% 1%
67Ruby #6 111.03111.08251,648772  0% 1% 1% 100%
111Perl 182.94183.022,9121112  1% 100% 0% 1%
"wrong" (different) algorithm / less comparable programs
0.2C++ g++ #5 0.260.261,0681753
1.2Lisp SBCL #5 2.022.027,4122343
2.0Fortran Intel #2 3.383.395081369
2.2Python 3 #7 3.633.6312,888972
34Python 3 #6 55.8355.857,732900
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