The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs KB gz cpu cpu load
1.0 Rust #2 1.43 23,504 1887 4.24 74% 73% 72% 82%
1.3 C gcc #6 1.81 2,352 1914 5.29 89% 53% 54% 100%
1.3 Java  #5 1.82 31,600 2457 5.90 80% 83% 80% 82%
1.5 Haskell GHC #6 2.18 12,844 1567 6.13 63% 64% 64% 93%
1.6 Haskell GHC #7 2.22 15,160 1550 3.51 42% 47% 35% 36%
1.6 Haskell GHC #5 2.27 14,748 1378 3.44 39% 25% 75% 15%
1.7 Go #3 2.47 3,496 1344 9.25 94% 96% 93% 94%
2.1 Fortran Intel #4 2.99 260 1327 2.99 0% 1% 100% 1%
2.3 C gcc #5 3.25 676 1261 3.24 100% 0% 2% 1%
2.5 Haskell GHC #2 3.62 8,172 979 3.88 3% 3% 100% 5%
2.9 C# Mono #4 4.17 83,264 1505 10.73 59% 77% 63% 61%
3.0 C++ g++ #2 4.28 1,168 1105 4.28 1% 1% 1% 100%
3.0 Ada 2005 GNAT #5 4.32 1,704 2186 4.31 100% 0% 1% 0%
3.0 C++ g++ #3 4.33 1,128 1286 4.33 0% 0% 0% 100%
3.1 Fortran Intel #3 4.44 524 1190 4.44 0% 1% 100% 0%
3.3 Java  #4 4.68 24,948 1507 4.78 1% 65% 36% 2%
3.4 C++ g++ 4.84 1,168 1033 4.83 0% 100% 1% 0%
3.5 C gcc #4 5.03 632 1221 5.02 0% 0% 0% 100%
3.7 Rust 5.26 6,236 1211 5.26 1% 0% 0% 100%
4.4 Scala #3 6.26 29,488 1053 6.39 2% 89% 11% 1%
4.4 C++ g++ #4 6.27 584 1266 6.26 0% 100% 1% 0%
4.4 Fortran Intel 6.33 524 1155 6.32 0% 0% 100% 0%
4.9 C gcc 7.05 668 1185 7.04 0% 97% 4% 0%
5.1 C# Mono #2 7.33 38,648 1180 7.32 99% 1% 1% 1%
5.3 Java  #2 7.52 25,236 1240 7.62 89% 2% 7% 6%
5.6 Pascal Free Pascal #4 7.93 8 1112 7.93 0% 100% 1% 0%
5.6 Lisp SBCL #6 7.98 20,268 1751 7.98 0% 1% 100% 1%
6.0 Go #2 8.51 11,792 1388 14.00 78% 53% 24% 12%
6.0 Ada 2005 GNAT 8.59 1,632 1346 8.58 0% 0% 0% 100%
6.1 Dart 8.75 19,836 1386 8.83 34% 37% 100% 32%
6.7 Go 9.56 1,732 1036 9.56 0% 93% 8% 0%
6.8 Clojure #6 9.72 61,128 1692 11.15 7% 98% 5% 7%
7.1 Scala 10.13 30,928 1080 10.30 2% 99% 1% 2%
7.3 F# Mono 10.49 40,612 978 10.49 100% 0% 1% 1%
7.4 Clojure #5 10.63 63,076 1964 12.18 23% 62% 27% 7%
8.4 Lisp SBCL #3 11.96 43,084 1579 11.96 1% 0% 0% 100%
8.4 OCaml #3 12.06 600 1042 12.05 1% 1% 100% 0%
9.5 Racket #3 13.58 20,344 1276 13.58 0% 1% 1% 100%
11 Lisp SBCL 15.10 43,072 1419 15.09 0% 1% 1% 100%
11 Lisp SBCL #2 16.10 43,012 1617 16.09 0% 0% 1% 100%
39 Erlang HiPE #2 56.26 30,364 1164 58.35 33% 54% 1% 18%
40 Python 3 #5 56.91 2,483,536 1933 149.79 62% 77% 52% 78%
40 Racket 56.93 22,656 1054 56.94 0% 48% 53% 0%
80 Perl 113.72 51,420 838 113.68 1% 0% 0% 100%
83 PHP #3 118.76 2,592 1030 118.72 0% 100% 1% 1%
87 Python 3 #3 124.40 6,484 977 124.23 31% 3% 54% 14%
91 Erlang HiPE 129.36 12,624 1039 178.92 14% 22% 54% 51%
101 Ruby JRuby #3 144.43 322,420 973 150.50 24% 25% 35% 23%
131 Ruby #3 186.77 56,588 973 186.43 12% 46% 35% 10%
169 Ruby #5 240.85 5,124 987 240.42 45% 20% 29% 9%
169 Ruby #4 241.22 197,180 904 240.98 44% 47% 4% 7%
185 Python 3 264.16 6,396 792 264.05 41% 14% 34% 13%
199 Ruby #2 284.29 128,236 732 284.20 16% 42% 1% 42%
210 Ruby JRuby 5 min 475,864 760 5 min 30% 24% 24% 27%
218 Perl #4 5 min 2,560 934 5 min 20% 38% 7% 38%
260 PHP #2 6 min 2,588 1006 6 min 1% 35% 22% 44%
296 Perl #2 7 min 2,556 886 7 min 31% 35% 0% 36%
Haskell GHC #4 Bad Output
Haskell GHC Bad Output
OCaml #6 Failed