/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® one core |
Each chart bar shows how many times slower, one ↓ fasta 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.
| sort | sort | sort | ||||
| × | Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|---|
| 1.0 | Fortran Intel #4 | 3.18 | 3.18 | 260 | 1327 | 0% 1% 0% 100% |
| 1.1 | Haskell GHC #2 | 3.36 | 3.36 | 2,364 | 979 | 0% 0% 0% 100% |
| 1.3 | C++ g++ #2 | 4.10 | 4.11 | 620 | 1105 | 0% 0% 0% 100% |
| 1.3 | C++ g++ #3 | 4.22 | 4.23 | 872 | 1286 | 0% 0% 0% 100% |
| 1.3 | Ada 2005 GNAT #5 | 4.23 | 4.24 | 1,232 | 2186 | 0% 0% 1% 100% |
| 1.4 | Fortran Intel #3 | 4.58 | 4.58 | 524 | 1190 | 1% 0% 0% 100% |
| 1.5 | C++ g++ | 4.63 | 4.63 | 620 | 1033 | 2% 2% 1% 100% |
| 1.5 | Java 7 #4 | 4.92 | 4.92 | 14,932 | 1507 | 0% 1% 0% 100% |
| 1.5 | C gcc #4 | 4.92 | 4.93 | 292 | 1221 | 0% 1% 1% 100% |
| 1.6 | ATS | 5.20 | 5.20 | 288 | 2104 | 0% 1% 0% 100% |
| 2.0 | Fortran Intel | 6.36 | 6.37 | 252 | 1155 | 0% 0% 0% 100% |
| 2.1 | Scala #3 | 6.54 | 6.55 | 19,588 | 1053 | 0% 1% 0% 100% |
| 2.1 | C++ g++ #4 | 6.57 | 6.58 | 292 | 1266 | 0% 0% 0% 100% |
| 2.2 | C gcc | 6.90 | 6.91 | 292 | 1185 | 0% 0% 1% 100% |
| 2.3 | C# Mono #2 | 7.42 | 7.43 | 14,292 | 1180 | 1% 0% 0% 100% |
| 2.5 | Java 7 #2 | 7.82 | 7.83 | 14,356 | 1240 | 0% 1% 1% 100% |
| 2.5 | Pascal Free Pascal #4 | 7.92 | 7.93 | 8 | 1112 | 1% 1% 0% 100% |
| 2.6 | Lisp SBCL #6 | 8.17 | 8.17 | 8,268 | 1751 | 0% 0% 0% 100% |
| 3.0 | Ada 2005 GNAT | 9.60 | 9.61 | 1,232 | 1346 | 0% 0% 0% 100% |
| 3.1 | Dart | 9.85 | 9.85 | 288,768 | 1421 | 0% 0% 0% 100% |
| 3.2 | Scala | 10.31 | 10.32 | 19,664 | 1080 | 0% 0% 0% 100% |
| 3.3 | F# Mono | 10.61 | 10.61 | 15,132 | 978 | 1% 0% 0% 100% |
| 3.7 | OCaml #3 | 11.75 | 11.75 | 1,636 | 1042 | 0% 0% 1% 100% |
| 4.1 | Lisp SBCL #3 | 13.01 | 13.02 | 30,216 | 1579 | 0% 0% 0% 100% |
| 4.3 | Racket #3 | 13.75 | 13.76 | 17,252 | 1276 | 0% 0% 0% 100% |
| 4.8 | Lisp SBCL | 15.13 | 15.14 | 30,364 | 1419 | 0% 0% 0% 100% |
| 5.1 | Lisp SBCL #2 | 16.22 | 16.24 | 30,360 | 1617 | 0% 0% 0% 100% |
| 5.2 | Go | 16.68 | 16.69 | 1,012 | 1036 | 0% 0% 0% 100% |
| 6.0 | JavaScript V8 | 19.16 | 19.18 | 7,672 | 791 | 0% 0% 0% 100% |
| 6.7 | Clojure #5 | 21.26 | 21.27 | 78,660 | 1839 | 0% 0% 0% 100% |
| 6.8 | JavaScript V8 #2 | 21.64 | 21.66 | 35,660 | 923 | 1% 1% 0% 100% |
| 14 | Smalltalk VisualWorks | 44.63 | 44.66 | 21,956 | 1315 | 0% 1% 1% 100% |
| 16 | Lua | 49.71 | 49.72 | 1,112 | 1049 | 0% 1% 0% 100% |
| 16 | Erlang HiPE #2 | 49.98 | 50.00 | 7,632 | 1164 | 0% 0% 0% 100% |
| 16 | Racket | 50.86 | 50.89 | 17,596 | 1054 | 0% 0% 0% 100% |
| 23 | PHP #4 | 71.96 | 71.99 | 2,524 | 1110 | 0% 0% 0% 100% |
| 27 | Erlang HiPE | 85.72 | 85.76 | 7,628 | 1039 | 0% 0% 0% 100% |
| 29 | Perl | 92.55 | 92.59 | 99,672 | 838 | 0% 0% 0% 100% |
| 51 | PHP #3 | 160.25 | 163.42 | 2,520 | 1030 | 0% 0% 1% 100% |
| 57 | Ruby 2.0 #6 | 179.05 | 181.61 | 188,088 | 772 | 0% 0% 0% 100% |
| 67 | Ruby 2.0 #4 | 210.91 | 213.87 | 428,168 | 904 | 0% 1% 0% 100% |
| 74 | Ruby 2.0 #5 | 231.53 | 234.85 | 4,872 | 987 | 0% 1% 1% 99% |
| 80 | Ruby JRuby | 250.90 | 254.52 | 583,812 | 760 | 0% 0% 0% 100% |
| 81 | Perl #4 | 258.42 | 258.55 | 1,992 | 934 | 0% 0% 0% 100% |
| 82 | Python 3 #2 | 259.48 | 262.34 | 4,672 | 788 | 0% 1% 1% 100% |
| 84 | Python 3 | 263.96 | 266.44 | 4,668 | 792 | 0% 0% 0% 100% |
| 98 | Ruby 2.0 #2 | 5 min | 5 min | 248,984 | 732 | 0% 1% 1% 100% |
| 110 | Perl #2 | 5 min | 5 min | 1,988 | 886 | 0% 1% 1% 100% |
| 134 | PHP #2 | 7 min | 7 min | 2,520 | 1006 | 0% 0% 0% 100% |
| C CINT | Bad Output | 1163 | ||||
| Haskell GHC #4 | Bad Output | 1413 | ||||
| Haskell GHC | Bad Output | 1421 | ||||
| OCaml #6 | Failed | 1161 | ||||
| "wrong" (different) algorithm / less comparable programs | ||||||
| 0.7 | Perl #5 | 2.07 | 2.07 | 15,076 | 1113 | |
| 0.7 | C gcc #2 | 2.38 | 2.38 | 416 | 1169 | |
| 3.4 | Haskell GHC #3 | 10.69 | 10.70 | 1,844 | 1408 | |
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
IM = 139968 IA = 3877 IC = 29573 Seed = 42 Random (Max) Seed = (Seed * IA + IC) modulo IM = Max * Seed / IM
We'll use the generated FASTA file as input for other benchmarks (reverse-complement, k-nucleotide).
Random DNA sequences can be based on a variety of Random Models (554KB pdf). You can use Markov chains or independently distributed nucleotides to generate random DNA sequences online.