The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs KB gz cpu cpu load
1.0 Fortran Intel #4 2.44 512 1327 2.44 1% 0% 1% 100%
1.4 C gcc #5 3.29 748 1261 3.29 0% 0% 1% 100%
1.4 Haskell GHC #7 3.46 5,344 1550 3.45 1% 0% 2% 100%
1.4 Haskell GHC #2 3.50 4,544 979 3.49 1% 0% 1% 100%
1.5 Haskell GHC #5 3.64 9,564 1378 3.63 1% 0% 1% 100%
1.7 C gcc #6 4.05 1,932 1914 4.05 1% 0% 0% 100%
1.7 Ada 2005 GNAT #5 4.07 2,024 2186 4.06 0% 0% 1% 100%
1.7 C++ g++ #3 4.23 1,496 1286 4.22 0% 1% 0% 100%
1.8 Fortran Intel #3 4.31 508 1190 4.31 1% 1% 1% 100%
1.8 C++ g++ #2 4.44 1,436 1105 4.44 1% 0% 1% 100%
1.9 C++ g++ 4.67 1,492 1033 4.66 0% 0% 1% 100%
2.1 Rust 5.03 6,408 1211 5.03 0% 1% 1% 100%
2.1 Java  #4 5.15 31,376 1507 5.14 1% 1% 0% 100%
2.2 Java #5 5.43 39,024 2457 5.42 1% 0% 1% 100%
2.5 Fortran Intel 6.03 508 1155 6.03 1% 0% 0% 100%
2.5 C gcc #4 6.04 824 1221 6.03 2% 1% 0% 100%
2.5 OCaml #6 6.05 204,520 1161 6.04 0% 1% 1% 100%
2.5 Go #3 6.09 2,912 1344 6.08 0% 1% 1% 100%
2.5 C++ g++ #4 6.12 748 1266 6.12 1% 0% 0% 100%
2.6 Go #2 6.31 9,992 1388 6.31 0% 0% 1% 100%
2.6 C# Mono LLVM #2 6.36 40,544 1180 6.36 0% 1% 0% 100%
2.7 Haskell GHC #6 6.49 8,504 1567 6.48 1% 1% 0% 100%
2.9 C gcc 7.03 824 1185 7.03 1% 1% 1% 100%
2.9 Go 7.18 1,772 1036 7.18 0% 2% 1% 100%
3.1 Scala #3 7.51 36,744 1053 7.50 0% 0% 1% 100%
3.1 Lisp SBCL #6 7.63 17,284 1751 7.62 1% 1% 1% 100%
3.2 Clojure #6 7.73 76,608 1692 7.72 1% 1% 0% 100%
3.3 Java #2 8.01 32,868 1240 8.01 0% 1% 0% 100%
3.3 Ada 2005 GNAT 8.05 1,936 1346 8.05 1% 1% 0% 100%
3.5 F# Mono LLVM 8.42 42,192 978 8.41 2% 0% 1% 100%
3.6 OCaml #3 8.79 960 1042 8.79 1% 0% 0% 100%
3.7 Dart 9.03 29,208 1386 9.02 0% 1% 1% 100%
4.0 Lisp SBCL #3 9.78 17,424 1579 9.78 0% 1% 1% 100%
4.2 C# Mono LLVM #4 10.14 86,896 1505 10.07 0% 0% 1% 99%
4.5 Clojure #5 10.87 80,168 1964 10.86 0% 1% 1% 100%
4.5 Scala 10.99 36,728 1080 10.98 0% 0% 2% 100%
4.6 Pascal Free Pascal #4 11.13 8 1112 11.13 1% 0% 0% 100%
7.1 Racket #3 17.26 31,736 1276 17.25 1% 0% 1% 100%
7.2 Lisp SBCL #2 17.65 17,456 1617 17.64 1% 1% 4% 100%
7.3 Lisp SBCL 17.77 17,456 1419 17.76 1% 0% 0% 100%
10 JavaScript V8 #2 25.51 43,104 956 25.47 0% 0% 1% 100%
11 Hack #4 26.07 118,012 1109 26.05 1% 1% 1% 100%
13 Erlang HiPE #2 32.21 14,656 1164 32.20 1% 0% 1% 100%
18 Hack #3 43.31 118,176 1029 43.29 0% 1% 1% 100%
20 Smalltalk VW 48.04 53,456 1315 48.02 1% 0% 1% 100%
22 Hack #2 53.32 116,272 1003 53.30 1% 1% 0% 100%
22 Racket 53.36 23,016 1054 53.33 0% 1% 0% 100%
24 Rust #2 57.30 23,828 1887 57.24 1% 0% 0% 100%
27 JavaScript V8 66.32 13,228 831 66.29 0% 0% 1% 100%
37 Ruby JRuby #3 89.69 719,248 973 89.58 1% 1% 1% 100%
40 Perl 96.54 52,084 838 96.51 1% 0% 0% 100%
40 Erlang HiPE 96.64 14,876 1039 96.60 0% 1% 0% 100%
40 Ruby #3 96.91 59,620 973 96.87 1% 0% 1% 100%
45 Python 3 #3 110.68 8,148 977 110.64 1% 1% 1% 100%
48 PHP #3 116.38 3,364 1030 116.35 0% 0% 1% 100%
64 Ruby #5 157.23 7,212 987 155.80 1% 1% 1% 99%
65 Ruby #4 158.60 235,044 904 158.45 0% 1% 1% 100%
76 Ruby #2 184.99 204,120 732 184.92 1% 1% 1% 100%
82 Ruby JRuby 200.11 661,884 760 198.39 1% 1% 1% 100%
85 Python 3 #5 207.92 3,490,512 1933 146.95 13% 19% 19% 99%
86 Python 3 209.16 8,064 792 208.83 1% 1% 1% 100%
108 Perl #4 263.07 3,160 934 261.37 1% 1% 1% 100%
148 Perl #2 6 min 3,152 886 6 min 1% 1% 0% 100%
152 PHP #2 6 min 3,372 1006 6 min 1% 1% 1% 100%
Haskell GHC Bad Output
Haskell GHC #4 Bad Output
Lua Failed