The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Fortran Intel #4 2.53 8 1327 2.53 0% 1% 0% 100%
1.3 C gcc #5 3.29 876 1261 3.29 1% 0% 0% 100%
1.4 Rust #3 3.54 5,944 1214 3.54 1% 0% 100% 1%
1.6 Ada 2005 GNAT #5 4.09 1,956 2186 4.08 0% 0% 0% 100%
1.7 C++ g++ #3 4.20 1,700 1286 4.20 0% 1% 1% 100%
1.8 Swift #2 2.94 10,904 1953 4.42 45% 37% 31% 43%
1.8 Rust #2 1.49 18,592 1887 4.64 77% 84% 76% 76%
1.9 Fortran Intel #3 4.88 8 1190 4.88 1% 100% 2% 1%
2.0 Rust 4.96 5,676 1211 4.96 1% 1% 100% 0%
2.0 Java  #4 5.06 28,824 1507 5.14 1% 2% 100% 2%
2.1 C++ g++ #5 1.48 4,176 2313 5.25 89% 90% 88% 89%
2.1 C gcc #2 1.33 2,856 2249 5.28 100% 99% 100% 99%
2.1 C++ g++ #6 1.50 4,144 2291 5.28 89% 89% 89% 89%
2.1 C gcc #7 1.38 2,792 1993 5.36 97% 96% 100% 96%
2.2 C gcc #6 1.88 2,528 1914 5.52 71% 51% 85% 89%
2.2 Go #3 1.98 3,044 1344 5.65 75% 82% 47% 85%
2.2 Java #5 2.13 36,036 2457 5.66 94% 58% 59% 60%
2.3 Chapel #2 1.69 52,272 1392 5.85 99% 83% 83% 82%
2.3 OCaml #6 5.89 201,740 1161 5.88 100% 1% 0% 2%
2.4 C gcc #4 6.08 812 1221 6.08 1% 1% 0% 100%
2.4 C++ g++ #4 6.09 708 1266 6.08 1% 0% 100% 1%
2.5 Go #2 2.77 10,976 1388 6.20 66% 56% 72% 33%
2.5 C# .NET Core #2 6.35 37,852 1180 6.35 0% 1% 0% 100%
2.6 Go 6.57 1,460 1036 6.56 2% 0% 100% 0%
2.6 Fortran Intel 6.66 8 1155 6.65 0% 0% 100% 0%
3.0 C gcc 7.56 808 1185 7.56 1% 100% 0% 2%
3.0 Java #2 7.53 31,040 1240 7.64 14% 1% 2% 87%
3.0 Swift #3 2.42 34,544 2096 7.70 90% 85% 68% 79%
3.1 C# .NET Core 2.06 88,292 2087 7.81 94% 96% 98% 94%
3.2 C# .NET Core #3 2.30 89,300 1904 8.06 97% 85% 85% 88%
3.2 Lisp SBCL #6 8.11 23,048 1751 8.10 1% 0% 1% 100%
3.2 Dart 8.11 54,704 1386 8.20 1% 2% 98% 2%
3.3 Ada 2005 GNAT 8.30 1,972 1346 8.29 1% 1% 1% 100%
3.4 Chapel 8.52 53,132 1218 8.54 100% 1% 1% 0%
3.4 OCaml #3 8.60 2,540 1042 8.60 0% 1% 0% 100%
3.5 F# .NET Core 8.88 40,696 978 8.87 100% 1% 0% 1%
3.7 Node.js #4 9.45 33,288 1745 9.46 1% 1% 99% 1%
4.0 C# .NET Core #4 2.83 205,320 1505 10.19 89% 88% 88% 99%
4.1 Lisp SBCL #3 10.29 22,888 1579 10.28 58% 43% 1% 0%
4.3 Pascal Free Pascal #4 10.86 8 1112 10.85 100% 0% 1% 0%
4.5 Swift 11.42 7,564 1527 11.41 1% 1% 1% 100%
5.1 Node.js #3 12.90 32,056 1101 12.90 0% 1% 0% 100%
6.8 Racket #3 17.32 27,304 1276 17.31 1% 0% 100% 1%
7.2 Lisp SBCL #2 18.24 22,920 1617 18.23 1% 100% 0% 0%
7.3 TypeScript 18.38 32,044 1205 18.38 1% 1% 100% 0%
7.3 Lisp SBCL 18.54 22,952 1419 18.53 1% 0% 100% 0%
13 Erlang HiPE #2 32.24 29,896 1164 33.77 3% 72% 30% 1%
16 Hack #4 40.88 116,344 1109 40.85 1% 48% 53% 1%
17 Racket 41.97 26,008 1054 41.95 64% 0% 1% 37%
18 Hack #2 44.48 114,476 1003 44.45 100% 1% 1% 0%
18 Haskell GHC #2 13.70 473,972 1296 45.44 98% 80% 79% 78%
18 Lua #3 45.92 2,828 1052 45.90 100% 1% 1% 0%
18 Lua #2 46.56 2,780 1052 46.54 0% 0% 1% 100%
19 Smalltalk VW 47.34 56,084 1536 47.32 100% 1% 1% 0%
22 Erlang #2 54.48 23,568 1164 56.48 99% 2% 4% 1%
23 PHP #3 59.37 8,896 1030 59.36 5% 2% 3% 100%
24 Node.js #2 60.38 598,936 965 60.84 21% 18% 60% 7%
26 Hack #3 66.51 118,472 1029 66.47 1% 1% 1% 100%
34 Ruby JRuby #3 77.16 733,140 973 84.79 43% 20% 11% 38%
39 Perl 98.16 53,760 838 98.12 99% 1% 1% 1%
43 Ruby #3 108.36 107,984 973 108.32 7% 10% 75% 10%
44 Python 3 #3 110.91 8,024 977 110.87 100% 1% 1% 1%
44 Python 3 #2 111.20 8,104 1092 111.16 1% 100% 0% 1%
50 PHP #2 127.56 8,812 1006 127.35 18% 55% 1% 29%
59 Python 3 148.10 8,124 792 147.90 100% 1% 0% 1%
59 Node.js 148.35 659,780 840 150.07 9% 2% 59% 32%
60 Ruby #5 152.82 9,712 987 151.86 26% 36% 22% 18%
60 Ruby #4 152.88 235,136 904 152.75 27% 17% 46% 12%
61 Erlang HiPE 117.53 20,460 1039 153.64 90% 28% 16% 4%
64 Erlang 116.94 21,608 1039 161.07 18% 97% 4% 21%
85 Perl #4 214.90 4,748 934 214.82 6% 53% 21% 21%
86 Ruby #2 216.58 208,196 732 216.50 55% 1% 1% 45%
101 Ruby JRuby 242.48 1,604,456 760 254.73 27% 50% 27% 5%
118 Perl #2 297.57 4,888 886 297.46 14% 31% 1% 57%
C++ g++ #2 Make Error
C++ g++ Make Error
Python 3 #5 Timed Out