The Computer Language
Benchmarks Game

k-nucleotide

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 C gcc 5.38 129,772 1499 16.37 61% 82% 89% 74%
1.0 Rust #7 5.40 156,208 1627 16.18 86% 99% 66% 51%
1.3 C++ g++ #3 7.18 164,052 1252 24.28 83% 83% 93% 83%
1.5 Java  7.93 465,372 1802 25.11 75% 75% 75% 93%
1.6 C++ g++ 8.67 756,560 1428 18.86 20% 87% 25% 89%
2.3 C# .NET Core #9 12.37 231,336 2251 39.09 97% 70% 78% 72%
2.4 Ada 2005 GNAT #2 12.94 258,312 4865 31.07 55% 80% 21% 86%
2.4 Java #3 12.99 459,616 1630 44.88 84% 86% 81% 96%
2.5 C# .NET Core #6 13.28 228,732 1585 37.56 96% 61% 69% 58%
2.5 Java #6 13.39 460,916 1602 46.82 86% 86% 87% 92%
2.6 C# .NET Core #8 14.04 234,188 2216 53.54 99% 97% 93% 93%
2.9 C# .NET Core #7 15.62 871,152 1822 50.40 74% 90% 85% 75%
3.0 Go #6 16.08 149,180 1582 59.44 95% 90% 90% 97%
3.1 Rust #2 16.80 166,468 1324 46.83 43% 64% 86% 87%
3.2 Lisp SBCL #6 16.99 535,356 2467 62.18 90% 100% 89% 89%
3.2 Go #3 17.09 149,120 1713 63.16 95% 94% 90% 93%
3.2 Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
3.6 F# .NET Core #4 19.25 1,117,236 1477 62.56 80% 96% 74% 77%
3.7 OCaml #3 19.69 259,992 1789 54.82 71% 90% 50% 70%
3.9 Swift #2 20.73 244,084 1366 76.60 92% 90% 97% 92%
4.0 Lisp SBCL 21.36 515,556 2413 66.49 99% 71% 71% 72%
4.4 Swift 23.84 175,588 1231 78.76 81% 78% 95% 78%
4.9 F# .NET Core #3 26.12 1,259,252 1111 63.90 71% 91% 52% 35%
4.9 C# .NET Core #3 26.18 714,516 1404 89.80 80% 86% 92% 88%
4.9 C# .NET Core #4 26.60 750,804 1696 93.62 87% 83% 86% 98%
5.7 Java #5 30.64 186,028 2211 69.04 20% 89% 28% 91%
6.0 Haskell GHC #2 32.33 643,572 1463 124.08 97% 95% 95% 98%
6.1 Dart #2 32.73 2,115,796 2455 90.04 63% 66% 72% 77%
6.2 Lisp SBCL #5 33.17 168,328 2301 33.14 1% 1% 0% 100%
6.2 Lisp SBCL #4 33.25 168,328 2272 33.22 0% 100% 1% 0%
6.3 OCaml #2 33.67 392,488 1205 78.69 31% 31% 89% 84%
7.4 C# .NET Core #5 39.69 762,700 2445 134.60 88% 82% 82% 90%
7.5 Haskell GHC 40.32 527,252 1052 140.96 87% 88% 89% 93%
7.7 Rust 41.53 177,848 1072 113.39 100% 79% 48% 48%
8.2 PHP #4 43.96 235,632 1060 142.28 87% 100% 71% 72%
9.1 Java #4 48.75 185,160 1873 50.42 1% 96% 1% 7%
9.3 Go #2 49.94 265,556 1531 165.46 70% 89% 77% 96%
10 Hack #4 53.87 286,948 1061 185.60 91% 99% 76% 80%
11 Go 58.30 391,800 980 207.93 86% 89% 99% 84%
12 Perl 63.38 1,131,644 648 230.49 92% 90% 95% 89%
12 OCaml 65.92 416,204 870 65.86 0% 1% 100% 0%
12 Node.js #2 66.35 2,045,604 904 159.54 97% 80% 82% 80%
13 Perl #4 68.40 1,069,012 472 223.62 93% 76% 68% 94%
13 F# .NET Core 71.17 882,596 701 227.63 83% 84% 80% 77%
14 Perl #3 72.76 1,146,924 507 254.58 97% 74% 84% 96%
14 Node.js 74.06 2,267,768 974 161.20 83% 74% 77% 89%
15 Racket #4 82.03 374,608 881 82.02 100% 1% 0% 0%
16 Python 3 #3 84.73 221,028 1937 276.97 97% 93% 91% 91%
16 Fortran Intel 87.62 203,604 2238 87.57 1% 0% 100% 0%
18 C# .NET Core 98.48 731,448 1420 99.79 2% 2% 98% 1%
19 Ruby #7 101.95 381,312 852 6 min 84% 98% 85% 95%
21 Python 3 113.33 324,880 599 6 min 75% 98% 79% 80%
22 Python 3 #8 120.84 451,468 647 6 min 96% 62% 95% 56%
24 Ruby 130.87 133,912 637 7 min 89% 95% 85% 93%
27 Lisp SBCL #3 142.67 517,612 1284 142.59 1% 0% 100% 1%
27 Lisp SBCL #2 142.88 517,776 1277 142.79 1% 100% 1% 0%
27 C# .NET Core #2 144.77 1,091,472 1012 148.65 27% 27% 26% 24%
30 Erlang HiPE #3 163.56 1,077,148 932 7 min 51% 57% 99% 64%
33 Erlang #3 175.10 892,448 932 8 min 69% 71% 94% 56%
34 Ruby JRuby #3 181.25 1,592,680 540 9 min 77% 88% 74% 84%
34 Lua #2 182.12 572,508 613 180.68 1% 100% 1% 1%
34 Ruby JRuby 182.54 1,587,804 637 9 min 78% 79% 73% 82%
38 Erlang HiPE 206.47 3,561,784 930 7 min 58% 83% 76% 46%
40 Perl #2 216.14 536,960 359 215.98 100% 0% 1% 1%
44 Racket 234.93 1,316,664 542 234.84 0% 95% 6% 1%
45 Erlang 242.57 3,590,628 930 8 min 57% 71% 71% 71%
58 Dart 5 min 414,252 595 5 min 1% 25% 75% 2%
75 Ruby #2 6 min 163,104 420 6 min 1% 1% 100% 1%
81 Ruby #3 7 min 163,760 540 7 min 27% 25% 25% 26%
121 Smalltalk VW #5 10 min 387,932 1303 10 min 39% 63% 34% 21%
Rust #5 Make Error
Rust #6 Make Error
Rust #3 Make Error
Rust #4 Make Error
TypeScript Failed
Smalltalk VW #2 Bad Output