The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source code secs KB gz cpu cpu load
1.0 Rust #2 1.52 23,732 1887 4.61 74% 74% 75% 82%
1.2 C gcc #6 1.90 6,020 1914 5.21 90% 3% 87% 97%
1.4 Java  #5 2.19 39,368 2457 5.60 58% 72% 66% 61%
1.5 Go #3 2.33 3,956 1344 6.20 65% 57% 76% 69%
1.6 Fortran Intel #4 2.44 512 1327 2.44 2% 0% 1% 100%
2.0 Haskell GHC #6 2.99 15,308 1567 6.84 53% 54% 54% 71%
2.0 Go #2 3.06 11,736 1388 6.57 69% 60% 48% 42%
2.0 Haskell GHC #5 3.08 15,820 1378 4.17 29% 36% 42% 29%
2.0 Haskell GHC #7 3.09 22,428 1550 4.16 32% 48% 12% 43%
2.2 C gcc #5 3.26 820 1261 3.26 0% 100% 0% 1%
2.6 Haskell GHC #2 3.88 8,804 979 4.28 5% 6% 97% 4%
2.7 Ada 2005 GNAT #5 4.07 2,060 2186 4.06 100% 1% 0% 0%
2.8 C++ g++ #3 4.18 1,700 1286 4.18 0% 100% 1% 0%
2.8 C# Mono #4 4.19 87,892 1505 10.50 57% 78% 60% 57%
2.9 Fortran Intel #3 4.33 508 1190 4.33 0% 1% 100% 0%
3.0 C++ g++ #2 4.54 1,600 1105 4.54 100% 0% 1% 1%
3.3 Java  #4 5.05 31,068 1507 5.16 2% 2% 1% 100%
3.4 Rust 5.22 6,300 1211 5.21 100% 0% 1% 1%
4.0 C gcc #4 6.00 820 1221 6.00 2% 100% 1% 1%
4.0 Fortran Intel 6.03 508 1155 6.03 0% 0% 100% 3%
4.0 OCaml #6 6.05 200,872 1161 6.04 1% 1% 100% 0%
4.0 C++ g++ #4 6.13 744 1266 6.12 100% 1% 1% 1%
4.1 C++ g++ 6.22 1,688 1033 6.22 1% 0% 1% 100%
4.2 C# Mono #2 6.37 40,044 1180 6.36 0% 0% 100% 1%
4.4 Clojure #6 6.64 76,292 1692 7.84 89% 8% 16% 7%
4.7 Go 7.18 1,772 1036 7.18 1% 1% 0% 100%
4.8 Scala #3 7.35 36,560 1053 7.47 78% 23% 1% 2%
5.0 Lisp SBCL #6 7.61 17,284 1751 7.60 1% 1% 100% 0%
5.1 C gcc 7.72 824 1185 7.71 3% 1% 100% 5%
5.2 Java  #2 7.83 32,048 1240 7.94 2% 1% 79% 21%
5.3 Ada 2005 GNAT 8.07 1,988 1346 8.06 100% 0% 0% 0%
5.6 F# Mono 8.45 42,248 978 8.44 0% 1% 1% 100%
5.8 OCaml #3 8.79 2,996 1042 8.79 0% 0% 1% 100%
5.9 Dart 8.97 29,448 1386 9.05 99% 1% 1% 1%
6.3 Clojure #5 9.62 75,804 1964 11.15 40% 8% 7% 62%
6.5 Lisp SBCL #3 9.82 17,424 1579 9.82 100% 0% 1% 0%
7.1 Scala 10.80 42,432 1080 10.95 86% 15% 1% 2%
7.2 Pascal Free Pascal #4 10.99 8 1112 10.98 100% 1% 0% 1%
11 Racket #3 17.09 31,484 1276 17.09 1% 1% 100% 0%
12 Lisp SBCL #2 17.66 17,456 1617 17.65 100% 0% 0% 1%
12 Lisp SBCL 17.76 17,456 1419 17.76 0% 1% 100% 0%
17 JavaScript V8 #2 25.64 43,068 956 25.61 1% 100% 0% 1%
17 Hack #4 26.10 117,764 1109 26.08 100% 0% 0% 1%
22 Erlang HiPE #2 32.99 21,684 1164 34.59 84% 14% 2% 6%
29 Hack #3 43.29 117,528 1029 43.27 1% 0% 1% 99%
32 Smalltalk VW 47.88 54,228 1315 47.86 0% 1% 100% 0%
33 Racket 49.67 22,180 1054 49.66 100% 0% 1% 1%
35 Hack #2 53.21 115,420 1003 52.96 1% 80% 15% 7%
36 Erlang #2 54.87 29,928 1164 56.83 92% 9% 2% 1%
40 PHP #3 61.40 7,840 1030 61.38 0% 100% 0% 1%
44 JavaScript V8 66.02 13,224 831 65.99 1% 50% 0% 50%
55 Ruby JRuby #3 83.71 715,252 973 90.18 23% 39% 25% 22%
70 Perl 105.83 52,320 838 105.80 1% 1% 0% 100%
73 Python 3 #3 111.44 8,276 977 111.40 28% 0% 0% 73%
75 Ruby #3 113.64 59,200 973 113.60 1% 100% 0% 1%
77 Erlang HiPE 116.33 19,856 1039 157.88 45% 47% 34% 11%
79 Erlang 119.16 17,244 1039 161.65 64% 9% 50% 17%
79 Python 3 #5 120.33 3,516,300 1933 145.32 76% 48% 58% 49%
89 PHP #2 135.72 7,760 1006 135.66 46% 36% 5% 15%
100 Ruby #5 151.05 10,004 987 150.98 42% 35% 23% 3%
106 Ruby #4 160.90 242,268 904 160.74 35% 4% 39% 23%
135 Ruby #2 205.25 206,664 732 205.18 32% 1% 0% 69%
137 Python 3 207.44 7,944 792 206.09 22% 25% 41% 48%
137 Ruby JRuby 207.73 664,912 760 214.27 27% 35% 20% 22%
186 Perl #4 282.08 3,196 934 281.66 16% 30% 44% 12%
250 Perl #2 6 min 3,188 886 6 min 5% 47% 14% 36%
Haskell GHC Bad Output
Haskell GHC #4 Bad Output
Lua Failed