The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 C gcc #2 1.32 2,912 2268 5.25 100% 99% 100% 99%
1.0 C gcc #7 1.36 2,896 2011 5.28 100% 98% 97% 96%
1.1 Rust #2 1.47 2,992 1906 4.58 76% 76% 83% 77%
1.1 C++ g++ #6 1.49 4,372 2324 5.28 89% 88% 90% 90%
1.2 C++ g++ #5 1.52 4,352 2344 5.32 89% 89% 86% 89%
1.3 F# .NET Core #3 1.67 123,472 1350 6.27 93% 99% 93% 93%
1.3 Chapel #2 1.69 5,728 1392 5.83 100% 82% 82% 83%
1.4 C gcc #6 1.82 2,660 1930 5.37 5% 98% 98% 100%
1.6 C# .NET Core 2.09 65,216 2098 7.97 95% 99% 95% 95%
1.6 Go #3 2.17 3,404 1358 5.83 58% 69% 66% 77%
1.7 C# .NET Core #3 2.25 65,188 1916 8.02 98% 86% 87% 87%
1.8 Java  #5 2.33 43,924 2473 6.07 53% 71% 63% 74%
1.8 Swift #3 2.41 32,480 2096 8.07 78% 86% 90% 81%
2.0 Swift #2 2.69 9,160 1953 4.11 74% 7% 1% 72%
2.0 Go #2 2.70 10,760 1404 6.32 60% 73% 53% 52%
2.1 C gcc #5 2.74 860 1281 2.73 0% 1% 1% 100%
2.1 C# .NET Core #4 2.81 177,428 1524 10.15 88% 88% 99% 88%
2.2 Fortran Intel #4 2.91 8 1351 2.90 100% 0% 1% 2%
2.7 Rust #3 3.58 2,892 1233 3.58 100% 1% 1% 7%
3.1 Ada 2005 GNAT #5 4.08 2,092 2221 4.08 0% 29% 72% 3%
3.2 C++ g++ #3 4.18 1,888 1307 4.18 1% 1% 1% 100%
3.6 Fortran Intel #3 4.73 8 1215 4.73 100% 0% 0% 2%
3.7 Java #4 4.93 37,396 1524 5.16 3% 5% 98% 1%
3.8 Rust 5.09 1,720 1237 5.08 0% 60% 41% 0%
3.9 C++ g++ #2 5.10 1,860 1127 5.10 25% 77% 1% 0%
4.5 OCaml #6 6.00 199,732 1189 5.99 0% 2% 100% 0%
4.6 C++ g++ #4 6.06 896 1287 6.06 0% 0% 1% 100%
4.6 C gcc #4 6.07 896 1240 6.06 100% 1% 1% 1%
4.7 Fortran Intel 6.22 8 1190 6.22 0% 61% 40% 0%
4.8 C# .NET Core #2 6.35 32,336 1195 6.35 100% 0% 0% 1%
5.2 Rust #4 6.95 124,276 939 6.95 100% 1% 0% 0%
5.4 C++ g++ 7.19 1,824 1057 7.18 1% 100% 1% 1%
5.6 Go 7.38 1,564 1053 7.38 100% 1% 1% 1%
5.7 Java #2 7.50 37,484 1257 7.76 2% 99% 3% 0%
5.8 C gcc 7.66 900 1206 7.66 100% 1% 0% 0%
6.0 Lisp SBCL #6 7.99 19,688 1757 7.99 33% 1% 1% 68%
6.1 Dart 8.10 50,560 1403 8.19 1% 1% 99% 1%
6.5 F# .NET Core #2 8.59 313,120 1308 17.03 52% 47% 56% 45%
6.7 F# .NET Core 8.82 35,732 1002 8.81 0% 1% 100% 0%
6.9 Chapel 9.09 4,820 1218 9.10 100% 1% 0% 0%
7.1 Haskell GHC 9.36 5,044 969 9.74 2% 3% 2% 99%
7.4 Node.js #4 9.80 34,704 1785 9.83 66% 1% 0% 34%
7.7 Lisp SBCL #3 10.21 18,008 1587 10.21 100% 1% 0% 0%
7.8 Ada 2005 GNAT 10.36 2,124 1379 10.36 0% 0% 100% 1%
8.1 Node.js #3 10.73 33,752 1128 10.72 80% 9% 12% 0%
8.2 Pascal Free Pascal #4 10.85 8 1140 10.85 100% 0% 1% 0%
9.0 Swift 11.91 7,472 1527 11.91 46% 55% 0% 0%
10 Haskell GHC #2 13.43 471,572 1319 44.87 87% 84% 80% 86%
12 TypeScript 16.20 32,972 1429 16.20 3% 97% 1% 0%
13 Racket #3 17.26 28,060 1276 17.25 0% 1% 100% 1%
14 Lisp SBCL #2 17.88 22,792 1622 17.87 0% 100% 1% 0%
14 Lisp SBCL 19.08 22,728 1424 19.07 0% 100% 0% 0%
21 Erlang HiPE #2 27.90 21,756 1164 29.15 2% 1% 47% 54%
31 Hack #4 41.54 86,892 1147 41.52 69% 4% 4% 32%
32 Racket 42.27 26,096 1054 42.25 1% 100% 1% 3%
34 Hack #2 44.47 86,872 1047 44.45 0% 46% 56% 0%
36 Smalltalk VW 47.34 56,084 1536 47.32 100% 1% 1% 0%
37 Node.js #2 48.87 650,588 931 52.75 5% 35% 35% 33%
38 Lua #2 50.08 2,920 1061 50.06 0% 7% 94% 0%
38 Lua #3 50.71 2,968 1061 50.70 0% 100% 1% 0%
45 PHP #3 59.12 9,412 1062 59.11 40% 0% 1% 60%
45 Python 3 #5 59.47 15,996 1947 138.97 55% 55% 63% 66%
53 Hack #3 69.66 87,024 1061 69.63 1% 0% 0% 100%
60 Ruby JRuby #3 79.62 799,424 973 88.94 45% 27% 37% 13%
64 Node.js 84.16 798,452 809 89.23 20% 7% 50% 29%
75 PHP #2 98.92 9,332 1050 98.90 23% 0% 1% 77%
75 Perl 99.64 54,044 871 99.61 0% 1% 0% 100%
80 Erlang HiPE 105.45 20,868 1039 151.65 33% 39% 49% 24%
82 Ruby #3 108.36 107,984 973 108.32 7% 10% 75% 10%
83 Python 3 #3 109.39 10,460 1003 109.36 0% 0% 0% 100%
83 Python 3 #2 109.55 10,456 1121 109.53 100% 1% 0% 0%
109 Python 3 143.82 10,236 817 143.64 100% 1% 0% 1%
115 Ruby #5 152.82 9,712 987 151.86 26% 36% 22% 18%
115 Ruby #4 152.88 235,136 904 152.75 27% 17% 46% 12%
160 Perl #4 212.37 4,864 966 212.25 0% 48% 7% 46%
164 Ruby #2 216.58 208,196 732 216.50 55% 1% 1% 45%
212 Perl #2 281.33 5,040 922 281.21 0% 1% 17% 83%
281 Ruby JRuby 6 min 980,804 760 6 min 15% 35% 33% 23%
402 Ruby MRI #4 8 min 275,524 913 8 min 68% 0% 1% 32%
421 Matz's Interpreter #5 9 min 4,372 995 9 min 2% 41% 12% 47%
532 Matz's Interpreter #2 11 min 248,152 743 11 min 39% 15% 7% 44%
OCaml #3 Make Error
Matz's Interpreter #3 Failed