The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 C gcc #2 1.33 2,856 2249 5.28 100% 99% 100% 99%
1.0 C gcc #7 1.38 2,792 1993 5.36 97% 96% 100% 96%
1.1 C++ g++ #5 1.48 4,176 2313 5.25 89% 90% 88% 89%
1.1 Rust #2 1.48 18,524 1887 4.56 83% 76% 76% 75%
1.1 C++ g++ #6 1.50 4,144 2291 5.28 89% 89% 89% 89%
1.3 Chapel #2 1.69 52,272 1392 5.85 99% 83% 83% 82%
1.4 C gcc #6 1.88 2,528 1914 5.52 71% 51% 85% 89%
1.5 Go #3 1.98 3,044 1344 5.65 75% 82% 47% 85%
1.5 C# .NET Core 2.06 85,804 2087 7.82 95% 95% 97% 94%
1.6 Java  #5 2.13 36,036 2457 5.66 94% 58% 59% 60%
1.7 C# .NET Core #3 2.27 85,404 1904 8.03 89% 85% 85% 97%
1.8 Swift #3 2.43 34,100 2096 7.86 83% 80% 75% 90%
1.9 Fortran Intel #4 2.53 8 1327 2.53 0% 1% 0% 100%
2.1 Go #2 2.77 10,976 1388 6.20 66% 56% 72% 33%
2.1 C# .NET Core #4 2.80 202,176 1505 10.15 89% 89% 99% 89%
2.1 Swift #2 2.85 10,856 1953 4.34 51% 31% 34% 40%
2.5 C gcc #5 3.29 876 1261 3.29 1% 0% 0% 100%
2.6 Rust #3 3.52 5,896 1214 3.52 1% 1% 1% 100%
3.1 Ada 2005 GNAT #5 4.09 1,956 2186 4.08 0% 0% 0% 100%
3.2 C++ g++ #3 4.20 1,700 1286 4.20 0% 1% 1% 100%
3.7 Fortran Intel #3 4.88 8 1190 4.88 1% 100% 2% 1%
3.7 Rust 4.94 5,700 1211 4.94 2% 100% 0% 1%
3.8 Java #4 5.06 28,824 1507 5.14 1% 2% 100% 2%
4.4 OCaml #6 5.88 200,032 1161 5.88 3% 100% 1% 1%
4.6 C gcc #4 6.08 812 1221 6.08 1% 1% 0% 100%
4.6 C++ g++ #4 6.09 708 1266 6.08 1% 0% 100% 1%
4.8 C# .NET Core #2 6.38 36,904 1180 6.38 0% 100% 1% 0%
4.9 Go 6.57 1,460 1036 6.56 2% 0% 100% 0%
5.0 Fortran Intel 6.66 8 1155 6.65 0% 0% 100% 0%
5.6 Java #2 7.53 31,040 1240 7.64 14% 1% 2% 87%
5.7 C gcc 7.56 808 1185 7.56 1% 100% 0% 2%
6.1 Lisp SBCL #6 8.11 23,048 1751 8.10 1% 0% 1% 100%
6.2 Ada 2005 GNAT 8.30 1,972 1346 8.29 1% 1% 1% 100%
6.4 Chapel 8.52 53,132 1218 8.54 100% 1% 1% 0%
6.5 Dart 8.60 51,496 1386 8.66 67% 20% 1% 14%
6.5 OCaml #3 8.69 2,580 1042 8.69 1% 1% 0% 100%
7.0 Node.js #4 9.39 31,212 1745 9.40 100% 1% 1% 0%
7.7 Lisp SBCL #3 10.29 22,888 1579 10.28 58% 43% 1% 0%
8.1 Pascal Free Pascal #4 10.86 8 1112 10.85 100% 0% 1% 0%
8.6 Swift 11.42 7,328 1527 11.42 2% 100% 1% 0%
9.4 TypeScript 12.50 30,016 1205 12.50 100% 1% 1% 0%
9.8 Node.js #3 13.04 30,556 1101 13.04 100% 0% 1% 0%
11 Haskell GHC #2 14.79 450,528 1296 51.84 89% 86% 91% 88%
13 Racket #3 17.32 27,304 1276 17.31 1% 0% 100% 1%
14 Lisp SBCL #2 18.24 22,920 1617 18.23 1% 100% 0% 0%
14 Lisp SBCL 18.54 22,952 1419 18.53 1% 0% 100% 0%
24 Erlang HiPE #2 32.24 29,896 1164 33.77 3% 72% 30% 1%
31 Hack #4 40.88 116,344 1109 40.85 1% 48% 53% 1%
31 Racket 41.97 26,008 1054 41.95 64% 0% 1% 37%
32 Node.js #2 42.09 570,396 965 42.45 1% 1% 2% 99%
33 Hack #2 44.48 114,476 1003 44.45 100% 1% 1% 0%
34 Lua #3 45.92 2,828 1052 45.90 100% 1% 1% 0%
35 Lua #2 46.56 2,780 1052 46.54 0% 0% 1% 100%
36 Smalltalk VW 47.34 56,084 1536 47.32 100% 1% 1% 0%
41 Erlang #2 54.48 23,568 1164 56.48 99% 2% 4% 1%
45 PHP #3 59.37 8,896 1030 59.36 5% 2% 3% 100%
50 Hack #3 66.51 118,472 1029 66.47 1% 1% 1% 100%
58 Ruby JRuby #3 77.16 733,140 973 84.79 43% 20% 11% 38%
74 Perl 98.16 53,760 838 98.12 99% 1% 1% 1%
81 Ruby #3 108.36 107,984 973 108.32 7% 10% 75% 10%
83 Python 3 #3 110.91 8,024 977 110.87 100% 1% 1% 1%
83 Python 3 #2 111.20 8,104 1092 111.16 1% 100% 0% 1%
88 Erlang 116.94 21,608 1039 161.07 18% 97% 4% 21%
88 Erlang HiPE 117.53 20,460 1039 153.64 90% 28% 16% 4%
94 Node.js 125.59 673,964 840 125.76 61% 16% 22% 4%
96 PHP #2 127.56 8,812 1006 127.35 18% 55% 1% 29%
111 Python 3 148.10 8,124 792 147.90 100% 1% 0% 1%
115 Ruby #5 152.82 9,712 987 151.86 26% 36% 22% 18%
115 Ruby #4 152.88 235,136 904 152.75 27% 17% 46% 12%
161 Perl #4 214.90 4,748 934 214.82 6% 53% 21% 21%
162 Ruby #2 216.58 208,196 732 216.50 55% 1% 1% 45%
182 Ruby JRuby 242.48 1,604,456 760 254.73 27% 50% 27% 5%
223 Perl #2 297.57 4,888 886 297.46 14% 31% 1% 57%
C++ g++ #2 Make Error
C++ g++ Make Error
F# .NET Core Failed
Python 3 #5 Timed Out