The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Ruby #2 216.58 208,196 732 216.50 55% 1% 1% 45%
1.0 Ruby JRuby 242.48 1,604,456 760 254.73 27% 50% 27% 5%
1.1 Python 3 148.10 8,124 792 147.90 100% 1% 0% 1%
1.1 Perl 98.16 53,760 838 98.12 99% 1% 1% 1%
1.1 Node.js 125.59 673,964 840 125.76 61% 16% 22% 4%
1.2 Perl #2 297.57 4,888 886 297.46 14% 31% 1% 57%
1.2 Ruby #4 152.88 235,136 904 152.75 27% 17% 46% 12%
1.3 Perl #4 214.90 4,748 934 214.82 6% 53% 21% 21%
1.3 Node.js #2 42.09 570,396 965 42.45 1% 1% 2% 99%
1.3 Ruby JRuby #3 77.16 733,140 973 84.79 43% 20% 11% 38%
1.3 Ruby #3 108.36 107,984 973 108.32 7% 10% 75% 10%
1.3 Python 3 #3 110.91 8,024 977 110.87 100% 1% 1% 1%
1.3 F# .NET Core 9.67 38,672 978 9.66 1% 64% 37% 1%
1.3 Ruby #5 152.82 9,712 987 151.86 26% 36% 22% 18%
1.4 Hack #2 44.48 114,476 1003 44.45 100% 1% 1% 0%
1.4 PHP #2 127.56 8,812 1006 127.35 18% 55% 1% 29%
1.4 Hack #3 66.51 118,472 1029 66.47 1% 1% 1% 100%
1.4 PHP #3 59.37 8,896 1030 59.36 5% 2% 3% 100%
1.4 Go 6.57 1,460 1036 6.56 2% 0% 100% 0%
1.4 Erlang 116.94 21,608 1039 161.07 18% 97% 4% 21%
1.4 Erlang HiPE 117.53 20,460 1039 153.64 90% 28% 16% 4%
1.4 OCaml #3 8.69 2,580 1042 8.69 1% 1% 0% 100%
1.4 Lua #3 45.92 2,828 1052 45.90 100% 1% 1% 0%
1.4 Lua #2 46.56 2,780 1052 46.54 0% 0% 1% 100%
1.4 Racket 41.97 26,008 1054 41.95 64% 0% 1% 37%
1.5 Python 3 #2 111.20 8,104 1092 111.16 1% 100% 0% 1%
1.5 Node.js #3 13.04 30,556 1101 13.04 100% 0% 1% 0%
1.5 Hack #4 40.88 116,344 1109 40.85 1% 48% 53% 1%
1.5 Pascal Free Pascal #4 10.86 8 1112 10.85 100% 0% 1% 0%
1.6 Fortran Intel 6.66 8 1155 6.65 0% 0% 100% 0%
1.6 OCaml #6 5.88 200,032 1161 5.88 3% 100% 1% 1%
1.6 Erlang HiPE #2 32.24 29,896 1164 33.77 3% 72% 30% 1%
1.6 Erlang #2 54.48 23,568 1164 56.48 99% 2% 4% 1%
1.6 C# .NET Core #2 6.38 38,016 1180 6.37 1% 96% 4% 1%
1.6 C gcc 7.56 808 1185 7.56 1% 100% 0% 2%
1.6 Fortran Intel #3 4.88 8 1190 4.88 1% 100% 2% 1%
1.6 TypeScript 12.50 30,016 1205 12.50 100% 1% 1% 0%
1.7 Rust 4.96 5,740 1211 4.95 100% 2% 1% 0%
1.7 Rust #3 3.45 5,936 1214 3.44 0% 100% 2% 0%
1.7 Chapel 8.52 53,132 1218 8.54 100% 1% 1% 0%
1.7 C gcc #4 6.08 812 1221 6.08 1% 1% 0% 100%
1.7 Java  #2 7.53 31,040 1240 7.64 14% 1% 2% 87%
1.7 C gcc #5 3.29 876 1261 3.29 1% 0% 0% 100%
1.7 C++ g++ #4 6.09 708 1266 6.08 1% 0% 100% 1%
1.7 Racket #3 17.32 27,304 1276 17.31 1% 0% 100% 1%
1.8 C++ g++ #3 4.20 1,700 1286 4.20 0% 1% 1% 100%
1.8 Haskell GHC #2 14.68 455,088 1296 51.59 89% 87% 88% 91%
1.8 Fortran Intel #4 2.53 8 1327 2.53 0% 1% 0% 100%
1.8 Go #3 1.98 3,044 1344 5.65 75% 82% 47% 85%
1.8 Ada 2005 GNAT 8.30 1,972 1346 8.29 1% 1% 1% 100%
1.9 Dart 8.60 51,496 1386 8.66 67% 20% 1% 14%
1.9 Go #2 2.77 10,976 1388 6.20 66% 56% 72% 33%
1.9 Chapel #2 1.69 52,272 1392 5.85 99% 83% 83% 82%
1.9 Lisp SBCL 18.54 22,952 1419 18.53 1% 0% 100% 0%
2.1 C# .NET Core #4 2.93 200,840 1505 10.68 89% 88% 89% 99%
2.1 Java #4 5.06 28,824 1507 5.14 1% 2% 100% 2%
2.1 Swift 10.95 7,040 1527 10.94 100% 1% 1% 1%
2.1 Smalltalk VW 47.34 56,084 1536 47.32 100% 1% 1% 0%
2.2 Lisp SBCL #3 10.29 22,888 1579 10.28 58% 43% 1% 0%
2.2 Lisp SBCL #2 18.24 22,920 1617 18.23 1% 100% 0% 0%
2.4 Node.js #4 9.39 31,212 1745 9.40 100% 1% 1% 0%
2.4 Lisp SBCL #6 8.11 23,048 1751 8.10 1% 0% 1% 100%
2.6 Rust #2 1.48 18,524 1887 4.56 82% 76% 75% 76%
2.6 C# .NET Core #3 2.37 87,560 1904 8.26 85% 84% 86% 97%
2.6 C gcc #6 1.88 2,528 1914 5.52 71% 51% 85% 89%
2.7 Swift #2 2.97 10,268 1953 4.54 35% 49% 39% 34%
2.7 C gcc #7 1.38 2,792 1993 5.36 97% 96% 100% 96%
2.9 C# .NET Core 2.11 86,936 2087 7.95 92% 93% 96% 98%
2.9 Swift #3 2.36 37,188 2096 7.26 89% 82% 73% 66%
3.0 Ada 2005 GNAT #5 4.09 1,956 2186 4.08 0% 0% 0% 100%
3.1 C gcc #2 1.33 2,856 2249 5.28 100% 99% 100% 99%
3.1 C++ g++ #6 1.50 4,144 2291 5.28 89% 89% 89% 89%
3.2 C++ g++ #5 1.48 4,176 2313 5.25 89% 90% 88% 89%
3.4 Java #5 2.13 36,036 2457 5.66 94% 58% 59% 60%
C++ g++ #2 Make Error
C++ g++ Make Error
Python 3 #5 Timed Out