The Computer Language
Benchmarks Game

fasta

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Fortran Intel #4 2.50 8 1327 2.50 1% 0% 100% 2%
1.3 C gcc #5 3.27 864 1261 3.26 1% 1% 100% 2%
1.4 Rust #3 3.45 5,944 1214 3.45 100% 1% 1% 1%
1.6 Ada 2005 GNAT #5 4.11 2,044 2186 4.10 0% 1% 100% 1%
1.7 Swift #2 2.77 9,340 1953 4.18 7% 62% 6% 79%
1.7 C++ g++ #3 4.21 1,792 1286 4.20 0% 100% 2% 0%
1.8 Rust #2 1.49 20,324 1887 4.55 75% 76% 75% 82%
1.8 C++ g++ #2 4.56 1,772 1105 4.55 1% 0% 100% 1%
2.0 Rust 5.02 5,756 1211 5.02 1% 100% 0% 1%
2.1 Fortran Intel #3 5.13 8 1190 5.13 0% 1% 100% 1%
2.1 C++ g++ #6 1.47 9,484 2291 5.13 88% 88% 87% 88%
2.1 Java  #4 5.07 28,760 1507 5.16 99% 1% 1% 2%
2.1 C++ g++ #5 1.50 4,092 2313 5.17 87% 87% 87% 87%
2.1 C gcc #7 1.36 2,800 1993 5.26 96% 97% 100% 97%
2.2 C gcc #6 1.83 2,532 1914 5.38 98% 100% 1% 98%
2.3 Go #3 1.98 3,312 1344 5.63 60% 71% 78% 78%
2.3 Java #5 2.14 36,192 2457 5.68 71% 58% 62% 77%
2.3 OCaml #6 5.79 202,460 1161 5.79 1% 2% 100% 1%
2.4 Go #2 2.74 11,184 1388 5.93 2% 61% 59% 99%
2.4 Chapel #2 1.84 32,132 1392 5.98 99% 75% 77% 76%
2.4 C gcc #4 6.06 868 1221 6.05 1% 100% 0% 1%
2.5 C++ g++ #4 6.15 784 1266 6.15 100% 1% 1% 0%
2.5 C++ g++ 6.23 1,632 1033 6.22 0% 2% 100% 1%
2.5 Fortran Intel 6.37 8 1155 6.36 1% 0% 100% 1%
2.5 C# .NET Core #2 6.37 36,032 1180 6.36 2% 0% 0% 100%
2.6 Go 6.56 1,464 1036 6.56 100% 1% 1% 0%
2.9 Swift #3 2.40 32,536 2096 7.26 78% 81% 72% 73%
3.1 C gcc 7.69 812 1185 7.69 100% 1% 1% 1%
3.1 Scala #3 7.57 47,380 1053 7.74 99% 2% 2% 1%
3.1 Clojure #6 6.49 71,088 1653 7.80 13% 88% 9% 13%
3.2 Java #2 7.78 30,316 1240 7.90 100% 1% 2% 1%
3.2 Lisp SBCL #6 7.98 23,196 1751 7.98 1% 1% 1% 100%
3.3 C# .NET Core #3 2.33 87,548 1904 8.17 85% 98% 85% 85%
3.4 Ada 2005 GNAT 8.48 2,028 1346 8.48 1% 100% 0% 1%
3.5 OCaml #3 8.64 2,056 1042 8.63 0% 0% 100% 1%
3.5 Dart 8.59 51,984 1386 8.67 4% 2% 87% 11%
3.8 Node.js #4 9.45 31,892 1745 9.46 1% 1% 1% 100%
3.9 F# .NET Core 9.66 36,116 978 9.66 1% 100% 1% 0%
4.1 Lisp SBCL #3 10.17 23,196 1579 10.17 100% 1% 0% 0%
4.3 C# .NET Core #4 2.94 194,004 1505 10.69 99% 89% 89% 89%
4.4 Pascal Free Pascal #4 10.87 8 1112 10.86 1% 1% 1% 100%
4.4 Swift 11.00 6,304 1527 11.00 100% 1% 1% 0%
4.5 Clojure #5 9.52 75,108 1839 11.18 8% 12% 5% 94%
4.6 Scala 11.15 48,512 1080 11.36 100% 5% 2% 1%
5.1 TypeScript 12.81 30,228 1205 12.82 1% 100% 0% 1%
5.4 Node.js #3 13.47 30,596 1101 13.47 1% 3% 98% 1%
7.2 Lisp SBCL #2 17.97 23,196 1617 17.96 1% 1% 100% 1%
7.4 Racket #3 18.40 21,780 1276 18.39 100% 0% 1% 1%
7.5 Lisp SBCL 18.71 23,196 1419 18.70 1% 100% 1% 1%
7.7 Chapel 19.24 29,056 1216 19.24 100% 0% 0% 1%
14 Erlang HiPE #2 32.24 29,896 1164 33.77 3% 72% 30% 1%
16 Hack #4 40.88 116,344 1109 40.85 1% 48% 53% 1%
17 Node.js #2 41.81 541,612 965 42.18 1% 1% 100% 1%
18 Hack #2 44.48 114,476 1003 44.45 100% 1% 1% 0%
18 Racket 44.95 19,880 1054 44.95 77% 24% 1% 1%
18 Lua #3 45.92 2,828 1052 45.90 100% 1% 1% 0%
19 Lua #2 46.56 2,780 1052 46.54 0% 0% 1% 100%
19 Smalltalk VW 47.92 53,860 1315 47.89 100% 1% 1% 1%
19 Haskell GHC #2 15.50 450,024 1296 48.32 76% 76% 87% 77%
23 Erlang #2 54.48 23,568 1164 56.48 99% 2% 4% 1%
24 PHP #3 59.28 7,936 1030 59.26 1% 0% 1% 100%
27 Hack #3 66.51 118,472 1029 66.47 1% 1% 1% 100%
34 Ruby JRuby #3 77.16 733,140 973 84.79 43% 20% 11% 38%
39 Perl 98.16 53,760 838 98.12 99% 1% 1% 1%
43 Ruby #3 108.36 107,984 973 108.32 7% 10% 75% 10%
45 Python 3 #3 113.03 7,860 977 112.99 1% 100% 0% 1%
62 Erlang HiPE 117.53 20,460 1039 153.64 90% 28% 16% 4%
65 Erlang 116.94 21,608 1039 161.07 18% 97% 4% 21%
102 Ruby JRuby 242.48 1,604,456 760 254.73 27% 50% 27% 5%
Node.js Partial
Perl #2 Partial
Perl #4 Partial
PHP #2 Partial
Python 3 Partial
Python 3 #5 Partial
Ruby #5 Partial
Ruby #4 Partial
Ruby #2 Partial