/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.661.672961321  1% 0% 0% 99%
1.0Go #3 1.711.717241237  14% 99% 12% 49%
1.0Go #2 1.711.717241236  2% 1% 100% 3%
1.2Ada 2005 GNAT #2 1.992.001,2361909  0% 2% 100% 0%
1.2Java  #3 2.031.9815,8961443  82% 19% 2% 2%
1.2C gcc #2 2.062.062961168  1% 0% 0% 100%
1.3C++ g++ #2 2.162.166321474  2% 0% 100% 1%
1.4C# Mono 2.292.3015,4521438  99% 0% 0% 1%
1.4C# Mono #3 2.392.3915,4881441  0% 99% 3% 1%
1.8C++ g++ 3.003.006321470  0% 1% 100% 0%
2.0F# Mono #2 3.373.3817,4441074  0% 1% 1% 100%
2.1Scala #3 3.443.3717,1281435  1% 1% 2% 100%
2.6Scala #2 4.384.1124,2161372  3% 1% 100% 4%
2.9Pascal Free Pascal 4.784.7881227  1% 1% 0% 100%
3.5Dart 5.835.8049,2681464  0% 1% 2% 99%
5.7Lisp SBCL #4 9.399.394,9922005  1% 100% 0% 1%
12Clojure #6 19.9711.6275,2321428  26% 29% 47% 71%
12Clojure #4 20.2212.1675,9201503  64% 31% 31% 42%
12Clojure #5 20.4811.8372,7801399  18% 32% 38% 86%
52Perl #6 86.1986.222,288854  1% 100% 0% 0%
106Ruby #6 175.59178.59195,416772  13% 24% 32% 33%
127Perl 210.29210.422,2801112  90% 0% 0% 11%
"wrong" (different) algorithm / less comparable programs
0.1C++ g++ #5 0.230.238801753
1.8Lisp SBCL #5 3.023.026,0522343
2.0Fortran Intel #2 3.383.395121369
2.3Python 3 #7 3.753.767,928972
41Python 3 #6 68.7868.815,648900
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