The Computer Language
Benchmarks Game

k-nucleotide

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Perl #2 216.14 536,960 359 215.98 100% 0% 1% 1%
1.2 Ruby #2 6 min 163,104 420 6 min 1% 1% 100% 1%
1.3 Perl #4 68.40 1,069,012 472 223.62 93% 76% 68% 94%
1.4 Perl #3 72.76 1,146,924 507 254.58 97% 74% 84% 96%
1.5 Ruby JRuby #3 181.25 1,592,680 540 9 min 77% 88% 74% 84%
1.5 Ruby #3 7 min 163,760 540 7 min 27% 25% 25% 26%
1.5 Racket 240.84 1,315,380 542 240.77 4% 95% 1% 2%
1.7 Dart 5 min 442,104 595 5 min 29% 9% 63% 2%
1.7 Lua #2 182.12 572,508 613 180.68 1% 100% 1% 1%
1.8 Ruby JRuby 182.54 1,587,804 637 9 min 78% 79% 73% 82%
1.8 Ruby 130.87 133,912 637 7 min 89% 95% 85% 93%
1.8 Python 3 #8 120.84 451,468 647 6 min 96% 62% 95% 56%
1.8 Perl 63.38 1,131,644 648 230.49 92% 90% 95% 89%
2.0 F# .NET Core 70.23 937,712 701 232.52 82% 85% 84% 83%
2.0 TypeScript 184.21 514,760 708 184.19 1% 99% 1% 1%
2.4 Ruby #7 101.95 381,312 852 6 min 84% 98% 85% 95%
2.4 OCaml 67.09 415,072 870 67.03 1% 100% 0% 1%
2.5 Racket #4 84.39 371,384 881 84.38 1% 1% 100% 0%
2.5 Node.js #2 62.09 2,089,424 904 152.72 82% 85% 95% 82%
2.6 Erlang 242.57 3,590,628 930 8 min 57% 71% 71% 71%
2.6 Erlang HiPE 206.47 3,561,784 930 7 min 58% 83% 76% 46%
2.6 Erlang HiPE #3 163.56 1,077,148 932 7 min 51% 57% 99% 64%
2.6 Erlang #3 175.10 892,448 932 8 min 69% 71% 94% 56%
2.7 Node.js 67.50 2,294,496 974 157.58 80% 89% 76% 76%
2.7 Go 58.30 391,800 980 207.93 86% 89% 99% 84%
2.8 C# .NET Core #2 161.04 1,137,612 1012 165.05 28% 21% 27% 28%
3.0 PHP #4 43.96 235,632 1060 142.28 87% 100% 71% 72%
3.0 Hack #4 53.87 286,948 1061 185.60 91% 99% 76% 80%
3.0 Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
3.0 Rust 43.55 155,136 1072 116.72 47% 46% 80% 97%
3.1 F# .NET Core #3 26.18 1,180,032 1111 64.66 85% 77% 28% 60%
3.2 Smalltalk VW #5 5 min 378,812 1153 5 min 50% 50% 0% 1%
3.4 OCaml #2 34.31 392,376 1205 80.67 39% 83% 85% 30%
3.4 Swift 23.83 184,236 1231 79.39 79% 96% 79% 82%
3.5 C++ g++ #3 7.18 164,052 1252 24.28 83% 83% 93% 83%
3.6 Lisp SBCL #2 142.88 517,776 1277 142.79 1% 100% 1% 0%
3.6 Lisp SBCL #3 142.67 517,612 1284 142.59 1% 0% 100% 1%
3.7 Rust #2 17.62 140,368 1324 49.83 87% 100% 46% 52%
3.8 Swift #2 20.64 264,112 1366 76.31 93% 90% 96% 92%
3.9 C# .NET Core #3 29.00 693,080 1404 92.60 78% 79% 95% 70%
4.0 C# .NET Core 107.00 856,880 1420 108.33 2% 1% 2% 99%
4.0 C++ g++ 8.67 756,560 1428 18.86 20% 87% 25% 89%
4.1 F# .NET Core #4 18.96 1,166,252 1477 63.62 82% 87% 90% 78%
4.2 C gcc 5.38 129,772 1499 16.37 61% 82% 89% 74%
4.3 Go #2 49.94 265,556 1531 165.46 70% 89% 77% 96%
4.4 Go #6 16.08 149,180 1582 59.44 95% 90% 90% 97%
4.4 C# .NET Core #6 13.46 223,004 1585 37.90 73% 99% 55% 56%
4.5 Java  #6 13.39 460,916 1602 46.82 86% 86% 87% 92%
4.5 Java #3 12.99 459,616 1630 44.88 84% 86% 81% 96%
4.6 Rust #3 9.96 139,988 1641 25.14 45% 26% 91% 92%
4.6 Rust #6 5.69 143,940 1652 16.97 65% 66% 84% 86%
4.7 C# .NET Core #4 28.47 868,788 1696 101.43 88% 87% 87% 96%
4.8 Go #3 17.09 149,120 1713 63.16 95% 94% 90% 93%
4.8 Rust #5 9.76 140,132 1716 25.01 94% 44% 94% 28%
4.8 Rust #4 5.30 140,364 1728 16.34 100% 86% 55% 70%
5.0 OCaml #3 20.02 261,944 1789 56.21 48% 91% 95% 48%
5.0 Java 7.93 465,372 1802 25.11 75% 75% 75% 93%
5.1 C# .NET Core #7 15.41 874,632 1822 49.62 91% 75% 75% 83%
5.2 Java #4 48.75 185,160 1873 50.42 1% 96% 1% 7%
5.4 Python 3 #3 84.73 221,028 1937 276.97 97% 93% 91% 91%
6.2 Java #5 30.64 186,028 2211 69.04 20% 89% 28% 91%
6.2 Fortran Intel 87.62 203,604 2238 87.57 1% 0% 100% 0%
6.3 Lisp SBCL #4 33.25 168,328 2272 33.22 0% 100% 1% 0%
6.4 Lisp SBCL #5 33.17 168,328 2301 33.14 1% 1% 0% 100%
6.7 Lisp SBCL 21.36 515,556 2413 66.49 99% 71% 71% 72%
6.8 C# .NET Core #5 39.99 731,272 2445 135.83 83% 91% 86% 82%
6.8 Dart #2 33.38 2,045,004 2455 90.84 70% 61% 58% 86%
14 Ada 2005 GNAT #2 12.94 258,312 4865 31.07 55% 80% 21% 86%
Haskell GHC #2 Make Error
Haskell GHC Make Error