The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Pascal Free Pascal #4 10.86 8 1112 10.85 100% 0% 1% 0%
1.0 Fortran Intel #4 2.53 8 1327 2.53 0% 1% 0% 100%
1.0 Fortran Intel #3 4.88 8 1190 4.88 1% 100% 2% 1%
1.0 Fortran Intel 6.66 8 1155 6.65 0% 0% 100% 0%
89 C++ g++ #4 6.09 708 1266 6.08 1% 0% 100% 1%
101 C gcc 7.56 808 1185 7.56 1% 100% 0% 2%
102 C gcc #4 6.08 812 1221 6.08 1% 1% 0% 100%
110 C gcc #5 3.29 876 1261 3.29 1% 0% 0% 100%
195 Go 7.39 1,556 1036 7.38 100% 1% 1% 1%
213 C++ g++ #3 4.20 1,700 1286 4.20 0% 1% 1% 100%
245 Ada 2005 GNAT #5 4.09 1,956 2186 4.08 0% 0% 0% 100%
247 Ada 2005 GNAT 8.30 1,972 1346 8.29 1% 1% 1% 100%
316 C gcc #6 1.88 2,528 1914 5.52 71% 51% 85% 89%
318 OCaml #3 8.60 2,540 1042 8.60 0% 1% 0% 100%
348 Lua #2 46.56 2,780 1052 46.54 0% 0% 1% 100%
349 C gcc #7 1.38 2,792 1993 5.36 97% 96% 100% 96%
354 Lua #3 45.92 2,828 1052 45.90 100% 1% 1% 0%
357 C gcc #2 1.33 2,856 2249 5.28 100% 99% 100% 99%
448 Go #3 2.17 3,584 1344 5.84 59% 78% 70% 64%
518 C++ g++ #6 1.50 4,144 2291 5.28 89% 89% 89% 89%
522 C++ g++ #5 1.48 4,176 2313 5.25 89% 90% 88% 89%
594 Perl #4 214.90 4,748 934 214.82 6% 53% 21% 21%
611 Perl #2 297.57 4,888 886 297.46 14% 31% 1% 57%
711 Rust 5.02 5,688 1211 5.02 1% 0% 0% 100%
743 Rust #3 3.54 5,940 1214 3.54 100% 1% 1% 3%
  Swift 11.42 7,472 1527 11.42 1% 1% 0% 100%
  Python 3 #3 110.91 8,024 977 110.87 100% 1% 1% 1%
  Python 3 #2 111.20 8,104 1092 111.16 1% 100% 0% 1%
  Python 3 148.10 8,124 792 147.90 100% 1% 0% 1%
  PHP #2 127.56 8,812 1006 127.35 18% 55% 1% 29%
  PHP #3 59.37 8,896 1030 59.36 5% 2% 3% 100%
  Ruby #5 152.82 9,712 987 151.86 26% 36% 22% 18%
  Go #2 2.70 10,656 1388 6.34 47% 60% 61% 68%
  Swift #2 2.81 10,728 1953 4.26 47% 48% 30% 28%
  Rust #2 1.49 18,508 1887 4.58 75% 76% 83% 76%
  Erlang HiPE 117.53 20,460 1039 153.64 90% 28% 16% 4%
  Erlang 116.94 21,608 1039 161.07 18% 97% 4% 21%
  Erlang #2 54.48 23,568 1164 56.48 99% 2% 4% 1%
  Lisp SBCL #3 10.01 23,928 1579 10.01 1% 100% 0% 1%
  Lisp SBCL #6 7.45 23,984 1751 7.45 0% 0% 0% 100%
  Racket 42.27 26,096 1054 42.25 1% 100% 1% 3%
  Lisp SBCL #2 17.87 27,124 1617 17.86 1% 1% 0% 100%
  Lisp SBCL 18.71 27,152 1419 18.70 1% 0% 0% 100%
  Racket #3 17.26 28,060 1276 17.25 0% 1% 100% 1%
  Erlang HiPE #2 32.24 29,896 1164 33.77 3% 72% 30% 1%
  TypeScript 16.36 32,524 1205 16.35 98% 1% 3% 1%
  Node.js #3 11.02 33,752 1101 11.01 50% 1% 1% 50%
  Swift #3 2.32 34,356 2096 7.62 76% 79% 83% 93%
  Node.js #4 9.79 35,012 1745 9.81 1% 0% 1% 100%
  C# .NET Core #2 6.36 38,080 1180 6.35 100% 1% 1% 0%
  Java  #4 4.98 38,580 1507 5.22 5% 19% 2% 81%
  Java #2 7.48 38,888 1240 7.72 4% 2% 2% 98%
  F# .NET Core 8.81 41,448 978 8.80 0% 1% 100% 1%
  Java #5 2.32 46,816 2457 6.37 61% 60% 96% 60%
  Chapel #2 1.69 52,272 1392 5.85 99% 83% 83% 82%
  Chapel 8.52 53,132 1218 8.54 100% 1% 1% 0%
  Perl 98.16 53,760 838 98.12 99% 1% 1% 1%
  Dart 8.11 54,704 1386 8.20 1% 2% 98% 2%
  Smalltalk VW 47.34 56,084 1536 47.32 100% 1% 1% 0%
  C# .NET Core #3 2.29 89,812 1904 8.06 86% 84% 86% 98%
  C# .NET Core 2.09 90,540 2087 7.85 94% 93% 97% 93%
  Ruby #3 108.36 107,984 973 108.32 7% 10% 75% 10%
  Hack #2 44.48 114,476 1003 44.45 100% 1% 1% 0%
  Hack #4 40.88 116,344 1109 40.85 1% 48% 53% 1%
  Hack #3 66.51 118,472 1029 66.47 1% 1% 1% 100%
  C# .NET Core #4 2.82 190,392 1505 10.19 88% 99% 89% 88%
  OCaml #6 5.89 201,740 1161 5.88 100% 1% 0% 2%
  Ruby #2 216.58 208,196 732 216.50 55% 1% 1% 45%
  Ruby #4 152.88 235,136 904 152.75 27% 17% 46% 12%
  Haskell GHC #2 13.70 473,972 1296 45.44 98% 80% 79% 78%
  Node.js #2 47.70 651,748 965 48.48 67% 1% 35% 1%
  Node.js 85.83 796,980 840 86.83 1% 1% 6% 95%
  Ruby JRuby #3 79.62 799,424 973 88.94 45% 27% 37% 13%
  Ruby JRuby 6 min 980,804 760 6 min 15% 35% 33% 23%
C++ g++ #2 Make Error
C++ g++ Make Error
Python 3 #5 Timed Out