The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source code secs KB gz cpu cpu load
1.0 C gcc #7 1.36 8,180 1993 5.26 97% 96% 100% 97%
1.1 C++ g++ #5 1.49 9,488 2313 5.16 87% 86% 87% 88%
1.2 Rust #2 1.59 23,736 1887 4.74 72% 85% 72% 72%
1.4 C gcc #6 1.92 6,124 1914 5.27 88% 91% 89% 11%
1.6 Java  #5 2.19 39,368 2457 5.60 58% 72% 66% 61%
1.8 Go #3 2.42 3,716 1344 6.32 78% 51% 69% 64%
1.8 Fortran Intel #4 2.44 512 1327 2.44 2% 0% 1% 100%
2.2 Haskell GHC #6 2.99 15,308 1567 6.84 53% 54% 54% 71%
2.2 Go #2 3.05 11,872 1388 6.56 67% 39% 67% 47%
2.3 Haskell GHC #5 3.08 15,820 1378 4.17 29% 36% 42% 29%
2.3 Haskell GHC #7 3.09 22,428 1550 4.16 32% 48% 12% 43%
2.4 C gcc #5 3.26 760 1261 3.26 100% 1% 2% 1%
2.9 Haskell GHC #2 3.88 8,804 979 4.28 5% 6% 97% 4%
3.0 Ada 2005 GNAT #5 4.07 2,008 2186 4.06 1% 100% 0% 1%
3.1 C# Mono #4 4.19 87,892 1505 10.50 57% 78% 60% 57%
3.1 C++ g++ #3 4.21 1,580 1286 4.20 1% 1% 100% 1%
3.2 Fortran Intel #3 4.33 508 1190 4.33 0% 1% 100% 0%
3.4 C++ g++ #2 4.56 1,772 1105 4.55 1% 1% 100% 1%
3.7 Java  #4 5.05 31,068 1507 5.16 2% 2% 1% 100%
4.3 OCaml #6 5.86 203,780 1161 5.85 0% 1% 100% 0%
4.4 Rust 5.92 6,412 1211 5.92 1% 100% 0% 1%
4.5 Fortran Intel 6.03 508 1155 6.03 0% 0% 100% 3%
4.5 C gcc #4 6.06 880 1221 6.05 100% 1% 1% 0%
4.5 C++ g++ #4 6.15 744 1266 6.15 0% 0% 100% 0%
4.6 C++ g++ 6.23 1,768 1033 6.22 100% 0% 1% 0%
4.7 C# Mono #2 6.37 40,044 1180 6.36 0% 0% 100% 1%
4.8 Swift 6.47 6,388 1534 6.46 1% 1% 100% 0%
4.8 Clojure #6 6.49 71,088 1653 7.80 13% 88% 9% 13%
5.4 Go 7.26 1,920 1036 7.26 100% 1% 1% 0%
5.4 Scala #3 7.35 36,560 1053 7.47 78% 23% 1% 2%
5.7 C gcc 7.70 872 1185 7.69 0% 1% 100% 1%
5.8 Java  #2 7.83 32,048 1240 7.94 2% 1% 79% 21%
5.8 Ada 2005 GNAT 7.92 2,024 1346 7.91 1% 100% 1% 1%
6.2 F# Mono 8.45 42,248 978 8.44 0% 1% 1% 100%
6.3 OCaml #3 8.54 2,032 1042 8.53 0% 1% 1% 100%
6.4 Dart 8.70 30,756 1386 8.76 99% 1% 1% 1%
7.0 Clojure #5 9.52 75,108 1839 11.18 8% 12% 5% 94%
7.2 Lisp SBCL #3 9.73 16,552 1579 9.73 0% 1% 1% 100%
8.0 Scala 10.80 42,432 1080 10.95 86% 15% 1% 2%
8.1 Pascal Free Pascal #4 10.99 8 1112 10.98 100% 1% 0% 1%
14 Racket #3 18.36 20,164 1276 18.35 0% 100% 0% 1%
14 Lisp SBCL #2 18.63 19,624 1617 18.62 1% 0% 1% 100%
14 Lisp SBCL 19.28 19,656 1419 19.27 100% 1% 1% 0%
19 JavaScript V8 #2 25.64 43,068 956 25.61 1% 100% 0% 1%
20 Hack #4 27.16 130,828 1109 27.14 1% 50% 51% 0%
24 Lisp SBCL #6 32.28 55,204 1751 32.24 40% 1% 60% 1%
24 Erlang HiPE #2 32.99 21,684 1164 34.59 84% 14% 2% 6%
25 Node.js #2 33.58 196,988 965 33.56 100% 1% 1% 0%
31 Hack #2 42.34 129,044 1003 42.33 1% 2% 99% 0%
33 Hack #3 44.85 130,980 1029 44.83 0% 1% 0% 100%
35 Smalltalk VW 47.88 54,228 1315 47.86 0% 1% 100% 0%
37 Racket 50.67 19,956 1054 50.66 1% 1% 100% 0%
40 Erlang #2 54.87 29,928 1164 56.83 92% 9% 2% 1%
44 PHP #3 59.28 7,936 1030 59.26 1% 0% 1% 100%
49 JavaScript V8 66.02 13,224 831 65.99 1% 50% 0% 50%
60 Ruby JRuby #3 81.66 818,584 973 88.98 81% 9% 16% 6%
78 Perl 105.83 52,320 838 105.80 1% 1% 0% 100%
82 Python 3 #3 111.44 8,276 977 111.40 28% 0% 0% 73%
84 Ruby #3 113.64 59,200 973 113.60 1% 100% 0% 1%
86 Erlang HiPE 116.33 19,856 1039 157.88 45% 47% 34% 11%
88 Erlang 119.16 17,244 1039 161.65 64% 9% 50% 17%
89 Python 3 #5 120.33 3,516,300 1933 145.32 76% 48% 58% 49%
92 Node.js 125.22 32,484 840 123.38 30% 60% 5% 10%
111 PHP #2 150.20 8,016 1006 150.03 5% 29% 15% 53%
111 Ruby #5 151.05 10,004 987 150.98 42% 35% 23% 3%
119 Ruby #4 160.90 242,268 904 160.74 35% 4% 39% 23%
151 Ruby #2 205.25 206,664 732 205.18 32% 1% 0% 69%
153 Python 3 207.44 7,944 792 206.09 22% 25% 41% 48%
175 Ruby JRuby 237.49 1,354,164 760 247.82 38% 24% 9% 37%
208 Perl #4 282.08 3,196 934 281.66 16% 30% 44% 12%
280 Perl #2 6 min 3,188 886 6 min 5% 47% 14% 36%
Haskell GHC Bad Output
Haskell GHC #4 Bad Output
Lua Failed