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 #5 1.631.643641402  2% 1% 100% 1%
1.0C gcc #3 1.651.663601321  1% 0% 100% 2%
1.1Go #2 1.741.751,0241236  4% 0% 1% 99%
1.1Go #3 1.751.751,0241237  1% 1% 3% 100%
1.1C++ g++ #2 1.781.788241474  0% 2% 100% 1%
1.3Ada 2005 GNAT #2 2.062.061,4881909  0% 1% 0% 100%
1.3C gcc #2 2.062.073601168  2% 0% 1% 100%
1.6C++ g++ 2.562.568281470  1% 0% 100% 2%
1.6Java  #3 2.632.5725,2721443  2% 77% 2% 24%
1.6C# Mono 2.682.6820,2881438  0% 100% 2% 1%
1.8C# Mono #3 2.862.8622,3641441  0% 1% 2% 100%
1.9F# Mono #2 3.143.1426,1921074  0% 1% 1% 100%
1.9Scala #3 3.183.1225,8521435  81% 21% 1% 2%
2.9Scala #2 4.724.3833,9481372  60% 43% 5% 2%
3.3Dart 5.415.3881,7041464  1% 1% 72% 30%
3.8Clojure #6 6.145.0173,8281428  48% 24% 9% 43%
3.9Lisp SBCL #4 6.326.329,6642005  0% 1% 100% 1%
4.0Clojure #5 6.515.2574,8001399  21% 81% 13% 12%
4.9Pascal Free Pascal 8.048.0581227  1% 1% 0% 100%
6.7Clojure #4 11.019.0875,1921503  18% 8% 43% 54%
40PHP #4 64.6564.683,5881110  11% 26% 3% 70%
50Perl #6 82.0582.082,656854  62% 1% 39% 1%
66Ruby #6 108.37108.45252,508772  1% 0% 100% 1%
112Perl 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.002.0111,2362343
2.1Fortran 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
Python 3 No program
Racket No program
Ruby JRuby No program
Rust No program

 fasta-redux benchmark : Generate and write random DNA sequences

You can write your own program for this task and contribute to the benchmarks game by following these general instructions.

More specifically:

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