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 2,800 1993 5.26 96% 97% 100% 97%
1.1 C++ g++ #6 1.47 9,484 2291 5.13 88% 88% 87% 88%
1.1 Rust #2 1.50 18,844 1887 4.57 76% 82% 75% 75%
1.1 C++ g++ #5 1.50 4,092 2313 5.17 87% 87% 87% 87%
1.3 C gcc #6 1.83 2,532 1914 5.38 98% 100% 1% 98%
1.5 Go #3 1.97 3,456 1344 5.76 76% 71% 74% 73%
1.6 Java  #5 2.20 37,072 2457 6.37 81% 68% 72% 72%
1.7 C# .NET Core #3 2.30 87,444 1904 8.16 98% 86% 86% 87%
1.8 Fortran Intel #4 2.44 512 1327 2.44 2% 0% 1% 100%
2.1 C# Mono LLVM #3 2.85 58,088 1904 9.00 82% 87% 73% 77%
2.2 C# .NET Core #4 2.92 198,880 1505 10.67 99% 90% 90% 90%
2.2 Go #2 3.03 11,156 1388 6.48 53% 70% 44% 50%
2.2 Swift #2 3.04 9,520 1953 4.46 35% 46% 27% 48%
2.4 C gcc #5 3.27 864 1261 3.26 1% 1% 100% 2%
3.0 Ada 2005 GNAT #5 4.07 2,008 2186 4.06 1% 100% 0% 1%
3.1 C# Mono LLVM #4 4.21 86,560 1505 10.42 57% 70% 65% 58%
3.1 C++ g++ #3 4.21 1,792 1286 4.20 0% 100% 2% 0%
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% 0% 100% 1%
3.7 Java #4 5.03 30,800 1507 5.10 1% 98% 2% 3%
3.7 Rust 5.08 5,960 1211 5.07 100% 1% 1% 1%
4.3 OCaml #6 5.86 203,780 1161 5.85 0% 1% 100% 0%
4.4 Fortran Intel 6.03 508 1155 6.03 0% 0% 100% 3%
4.5 C gcc #4 6.06 868 1221 6.05 1% 100% 0% 1%
4.5 C++ g++ #4 6.15 784 1266 6.15 100% 1% 1% 0%
4.6 C++ g++ 6.23 1,632 1033 6.22 0% 2% 100% 1%
4.7 C# Mono LLVM #2 6.38 38,196 1180 6.38 1% 0% 7% 93%
4.7 C# .NET Core #2 6.42 36,496 1180 6.41 1% 0% 100% 1%
4.8 Clojure #6 6.49 71,088 1653 7.80 13% 88% 9% 13%
4.9 Go 6.67 1,016 1036 6.67 80% 1% 0% 21%
5.3 Scala #3 7.24 46,360 1053 7.40 12% 89% 3% 1%
5.7 C gcc 7.69 812 1185 7.69 100% 1% 1% 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.4 Dart 8.74 52,300 1386 8.82 99% 1% 1% 1%
7.0 Clojure #5 9.52 75,108 1839 11.18 8% 12% 5% 94%
7.0 F# .NET Core 9.55 37,260 978 9.54 100% 0% 0% 1%
7.2 Lisp SBCL #3 9.74 18,448 1579 9.73 1% 100% 1% 0%
8.1 Pascal Free Pascal #4 10.99 8 1112 10.98 100% 1% 0% 1%
8.1 Swift 11.00 6,052 1527 11.00 1% 100% 1% 0%
8.2 Scala 11.12 47,648 1080 11.34 99% 1% 2% 1%
9.3 TypeScript 12.64 28,964 1205 12.64 1% 0% 94% 7%
9.9 Node.js #3 13.41 28,892 1101 13.41 1% 1% 100% 0%
11 Haskell GHC #2 15.50 450,024 1296 48.32 76% 76% 87% 77%
13 Lisp SBCL #2 18.23 18,508 1617 18.22 1% 0% 100% 1%
14 Racket #3 18.40 21,780 1276 18.39 100% 0% 1% 1%
14 Lisp SBCL 18.55 18,584 1419 18.54 0% 1% 1% 100%
14 Chapel 19.24 29,056 1216 19.24 100% 0% 0% 1%
22 Lisp SBCL #6 29.77 51,228 1751 29.73 1% 0% 100% 1%
24 Erlang HiPE #2 32.24 29,896 1164 33.77 3% 72% 30% 1%
29 Hack #4 39.32 112,872 1109 39.30 0% 100% 1% 1%
31 Node.js #2 41.63 525,208 965 41.76 1% 1% 100% 0%
33 Racket 44.95 19,880 1054 44.95 77% 24% 1% 1%
35 Smalltalk VW 47.92 53,860 1315 47.89 100% 1% 1% 1%
37 Hack #2 50.63 111,256 1003 50.60 1% 1% 100% 0%
40 Erlang #2 54.48 23,568 1164 56.48 99% 2% 4% 1%
44 PHP #3 59.28 7,936 1030 59.26 1% 0% 1% 100%
51 Hack #3 69.32 113,348 1029 69.28 0% 1% 100% 1%
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 116.94 21,608 1039 161.07 18% 97% 4% 21%
87 Erlang HiPE 117.53 20,460 1039 153.64 90% 28% 16% 4%
89 Python 3 #5 120.33 3,516,300 1933 145.32 76% 48% 58% 49%
98 Node.js 133.20 632,856 840 131.79 6% 4% 38% 57%
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%
158 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%
219 Perl #2 297.57 4,888 886 297.46 14% 31% 1% 57%
Lua Failed