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 414,252 595 5 min 1% 25% 75% 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 69.34 884,756 701 221.88 79% 79% 82% 84%
2.4 Ruby #7 101.95 381,312 852 6 min 84% 98% 85% 95%
2.4 OCaml 65.92 416,204 870 65.86 0% 1% 100% 0%
2.5 Racket #4 84.39 371,384 881 84.38 1% 1% 100% 0%
2.5 Node.js #2 66.35 2,045,604 904 159.54 97% 80% 82% 80%
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 74.06 2,267,768 974 161.20 83% 74% 77% 89%
2.7 Go 58.30 391,800 980 207.93 86% 89% 99% 84%
2.8 C# .NET Core #2 138.04 1,113,180 1012 141.87 23% 28% 38% 17%
2.9 Haskell GHC 40.32 527,252 1052 140.96 87% 88% 89% 93%
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 41.53 177,848 1072 113.39 100% 79% 48% 48%
3.1 F# .NET Core #3 26.24 1,243,916 1111 64.20 81% 27% 90% 50%
3.4 OCaml #2 33.67 392,488 1205 78.69 31% 31% 89% 84%
3.4 Swift 23.84 175,588 1231 78.76 81% 78% 95% 78%
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.6 Smalltalk VW #5 10 min 387,932 1303 10 min 39% 63% 34% 21%
3.7 Rust #2 16.80 166,468 1324 46.83 43% 64% 86% 87%
3.8 Swift #2 20.73 244,084 1366 76.60 92% 90% 97% 92%
3.9 C# .NET Core #3 26.70 714,412 1404 88.80 79% 89% 73% 93%
4.0 C# .NET Core 98.49 725,940 1420 99.78 2% 98% 1% 3%
4.0 C++ g++ 8.67 756,560 1428 18.86 20% 87% 25% 89%
4.1 Haskell GHC #2 32.33 643,572 1463 124.08 97% 95% 95% 98%
4.1 F# .NET Core #4 19.47 1,151,720 1477 63.62 80% 91% 80% 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.76 217,804 1585 38.94 97% 80% 53% 55%
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.7 C# .NET Core #4 26.67 750,688 1696 94.06 87% 97% 86% 84%
4.8 Go #3 17.09 149,120 1713 63.16 95% 94% 90% 93%
5.0 OCaml #3 19.69 259,992 1789 54.82 71% 90% 50% 70%
5.0 Java 7.93 465,372 1802 25.11 75% 75% 75% 93%
5.1 C# .NET Core #7 15.57 732,512 1822 50.34 77% 96% 77% 74%
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.0 C# .NET Core #8 14.29 233,804 2151 54.05 97% 92% 93% 97%
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 Dart #2 32.73 2,115,796 2455 90.04 63% 66% 72% 77%
6.9 Lisp SBCL #6 16.99 535,356 2467 62.18 90% 100% 89% 89%
14 Ada 2005 GNAT #2 12.94 258,312 4865 31.07 55% 80% 21% 86%
C# .NET Core #5 Failed
Rust #5 Make Error
Rust #6 Make Error
Rust #3 Make Error
Rust #4 Make Error
TypeScript Failed
Smalltalk VW #2 Bad Output