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 6 min 980,804 760 6 min 15% 35% 33% 23%
1.1 Node.js 84.16 798,452 809 89.23 20% 7% 50% 29%
1.1 Python 3 143.82 10,236 817 143.64 100% 1% 0% 1%
1.2 Perl 99.64 54,044 871 99.61 0% 1% 0% 100%
1.2 Ruby #4 152.88 235,136 904 152.75 27% 17% 46% 12%
1.3 Perl #2 281.33 5,040 922 281.21 0% 1% 17% 83%
1.3 Node.js #2 48.87 650,588 931 52.75 5% 35% 35% 33%
1.3 Perl #4 212.37 4,864 966 212.25 0% 48% 7% 46%
1.3 Haskell GHC 9.36 5,044 969 9.74 2% 3% 2% 99%
1.3 Ruby JRuby #3 79.62 799,424 973 88.94 45% 27% 37% 13%
1.3 Ruby #3 108.36 107,984 973 108.32 7% 10% 75% 10%
1.3 Ruby #5 152.82 9,712 987 151.86 26% 36% 22% 18%
1.4 F# .NET Core 8.82 35,732 1002 8.81 0% 1% 100% 0%
1.4 Python 3 #3 109.39 10,460 1003 109.36 0% 0% 0% 100%
1.4 Erlang HiPE 105.45 20,868 1039 151.65 33% 39% 49% 24%
1.4 Hack #2 44.47 86,872 1047 44.45 0% 46% 56% 0%
1.4 PHP #2 132.54 9,112 1050 132.37 6% 1% 1% 94%
1.4 Go 7.38 1,564 1053 7.38 100% 1% 1% 1%
1.4 Racket 42.27 26,096 1054 42.25 1% 100% 1% 3%
1.4 C++ g++ 7.19 1,824 1057 7.18 1% 100% 1% 1%
1.4 Hack #3 69.66 87,024 1061 69.63 1% 0% 0% 100%
1.4 Lua #2 50.08 2,920 1061 50.06 0% 7% 94% 0%
1.4 Lua #3 50.71 2,968 1061 50.70 0% 100% 1% 0%
1.5 PHP #3 60.62 8,952 1062 60.61 0% 66% 35% 0%
1.5 Python 3 #2 109.55 10,456 1121 109.53 100% 1% 0% 0%
1.5 C++ g++ #2 5.10 1,860 1127 5.10 25% 77% 1% 0%
1.5 Node.js #3 10.73 33,752 1128 10.72 80% 9% 12% 0%
1.6 Pascal Free Pascal #4 10.86 8 1140 10.85 0% 1% 100% 1%
1.6 Hack #4 41.54 86,892 1147 41.52 69% 4% 4% 32%
1.6 Erlang HiPE #2 27.90 21,756 1164 29.15 2% 1% 47% 54%
1.6 OCaml #6 6.00 199,732 1189 5.99 0% 2% 100% 0%
1.6 Fortran Intel 6.22 8 1190 6.22 0% 61% 40% 0%
1.6 C# .NET Core #2 6.35 32,336 1195 6.35 100% 0% 0% 1%
1.6 C gcc 7.66 900 1206 7.66 100% 1% 0% 0%
1.7 Fortran Intel #3 4.73 8 1215 4.73 100% 0% 0% 2%
1.7 Chapel 9.09 4,820 1218 9.10 100% 1% 0% 0%
1.7 Rust #3 3.57 2,772 1233 3.56 3% 1% 100% 0%
1.7 Rust 5.07 1,684 1237 5.07 1% 1% 100% 1%
1.7 C gcc #4 6.07 896 1240 6.06 100% 1% 1% 1%
1.7 Java  #2 7.50 37,484 1257 7.76 2% 99% 3% 0%
1.7 Racket #3 17.26 28,060 1276 17.25 0% 1% 100% 1%
1.8 C gcc #5 2.74 860 1281 2.73 0% 1% 1% 100%
1.8 C++ g++ #4 6.06 896 1287 6.06 0% 0% 1% 100%
1.8 C++ g++ #3 4.18 1,888 1307 4.18 1% 1% 1% 100%
1.8 F# .NET Core #2 8.59 313,120 1308 17.03 52% 47% 56% 45%
1.8 Haskell GHC #2 13.43 471,572 1319 44.87 87% 84% 80% 86%
1.8 F# .NET Core #3 1.67 123,472 1350 6.27 93% 99% 93% 93%
1.8 Fortran Intel #4 2.91 8 1351 2.90 100% 0% 1% 2%
1.9 Go #3 2.17 3,404 1358 5.83 58% 69% 66% 77%
1.9 Ada 2005 GNAT 10.36 2,124 1379 10.36 0% 0% 100% 1%
1.9 Chapel #2 1.69 5,728 1392 5.83 100% 82% 82% 83%
1.9 Dart 8.10 50,560 1403 8.19 1% 1% 99% 1%
1.9 Go #2 2.70 10,760 1404 6.32 60% 73% 53% 52%
1.9 Lisp SBCL 19.08 22,728 1424 19.07 0% 100% 0% 0%
2.0 TypeScript 16.20 32,972 1429 16.20 3% 97% 1% 0%
2.1 Java #4 4.93 37,396 1524 5.16 3% 5% 98% 1%
2.1 C# .NET Core #4 2.81 177,428 1524 10.15 88% 88% 99% 88%
2.1 Swift 11.91 7,472 1527 11.91 46% 55% 0% 0%
2.1 Smalltalk VW 47.34 56,084 1536 47.32 100% 1% 1% 0%
2.2 Lisp SBCL #3 10.21 18,008 1587 10.21 100% 1% 0% 0%
2.2 Lisp SBCL #2 17.88 22,792 1622 17.87 0% 100% 1% 0%
2.4 Lisp SBCL #6 7.99 19,688 1757 7.99 33% 1% 1% 68%
2.4 Node.js #4 9.80 34,704 1785 9.83 66% 1% 0% 34%
2.6 Rust #2 1.48 2,980 1906 4.59 76% 78% 78% 83%
2.6 C# .NET Core #3 2.25 65,188 1916 8.02 98% 86% 87% 87%
2.6 C gcc #6 1.82 2,660 1930 5.37 5% 98% 98% 100%
2.7 Python 3 #5 59.47 15,996 1947 138.97 55% 55% 63% 66%
2.7 Swift #2 2.69 9,160 1953 4.11 74% 7% 1% 72%
2.7 C gcc #7 1.36 2,896 2011 5.28 100% 98% 97% 96%
2.9 Swift #3 2.41 32,480 2096 8.07 78% 86% 90% 81%
2.9 C# .NET Core 2.09 65,216 2098 7.97 95% 99% 95% 95%
3.0 Ada 2005 GNAT #5 4.08 2,092 2221 4.08 0% 29% 72% 3%
3.1 C gcc #2 1.32 2,912 2268 5.25 100% 99% 100% 99%
3.2 C++ g++ #6 1.49 4,372 2324 5.28 89% 88% 90% 90%
3.2 C++ g++ #5 1.52 4,352 2344 5.32 89% 89% 86% 89%
3.4 Java #5 2.33 43,924 2473 6.07 53% 71% 63% 74%
OCaml #3 Make Error