The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source 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 20,624 1887 4.66 71% 83% 71% 70%
1.4 C gcc #6 1.92 6,124 1914 5.27 88% 91% 89% 11%
1.6 Java  #5 2.20 37,072 2457 6.37 81% 68% 72% 72%
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 3.02 14,276 1567 6.80 53% 70% 53% 54%
2.2 Go #2 3.05 11,872 1388 6.56 67% 39% 67% 47%
2.4 C gcc #5 3.26 760 1261 3.26 100% 1% 2% 1%
2.7 Haskell GHC #7 3.59 14,316 1550 4.93 32% 35% 37% 36%
2.7 Haskell GHC #5 3.64 20,552 1378 4.94 30% 41% 40% 28%
2.8 Haskell GHC #2 3.77 8,096 979 4.09 3% 33% 70% 4%
3.0 Ada 2005 GNAT #5 4.07 2,008 2186 4.06 1% 100% 0% 1%
3.1 C# Mono #4 4.20 84,108 1505 10.36 78% 56% 54% 63%
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.03 30,800 1507 5.10 1% 98% 2% 3%
4.1 Rust 5.59 6,044 1211 5.58 0% 1% 1% 100%
4.3 OCaml #6 5.86 203,780 1161 5.85 0% 1% 100% 0%
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.38 38,140 1180 6.38 1% 0% 99% 1%
4.8 Swift 6.47 6,336 1534 6.46 1% 100% 0% 1%
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.89 29,752 1240 8.02 4% 41% 1% 57%
5.8 Ada 2005 GNAT 7.92 2,024 1346 7.91 1% 100% 1% 1%
6.3 OCaml #3 8.54 2,032 1042 8.53 0% 1% 1% 100%
6.3 F# Mono 8.57 40,228 978 8.56 100% 0% 1% 1%
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 34.32 180,536 965 34.30 1% 2% 0% 100%
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%
72 Perl 98.16 53,760 838 98.12 99% 1% 1% 1%
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%
91 Node.js 123.02 32,240 840 122.57 0% 1% 47% 54%
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%
159 Perl #4 214.90 4,748 934 214.82 6% 53% 21% 21%
175 Ruby JRuby 237.49 1,354,164 760 247.82 38% 24% 9% 37%
220 Perl #2 297.57 4,888 886 297.46 14% 31% 1% 57%
Haskell GHC Bad Output
Haskell GHC #4 Bad Output
Lua Failed