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 #4 5.27 158,224 1728 16.66 99% 58% 91% 71%
1.0 Rust #6 5.54 158,256 1652 16.91 55% 81% 86% 87%
1.2 C++ g++ 8.67 756,560 1428 18.86 20% 87% 25% 89%
1.5 Rust #5 9.09 152,840 1716 24.08 94% 95% 45% 33%
1.5 Rust #3 9.22 150,724 1641 24.09 34% 38% 100% 92%
1.5 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.9 Ada 2005 GNAT #2 12.94 258,312 4865 31.07 55% 80% 21% 86%
2.0 Lisp SBCL #5 33.17 168,328 2301 33.14 1% 1% 0% 100%
2.0 Lisp SBCL #4 33.25 168,328 2272 33.22 0% 100% 1% 0%
2.3 C# .NET Core #6 13.46 223,004 1585 37.90 73% 99% 55% 56%
2.7 Java #3 12.99 459,616 1630 44.88 84% 86% 81% 96%
2.9 Java #6 13.39 460,916 1602 46.82 86% 86% 87% 92%
3.0 Rust #2 17.30 162,880 1324 49.48 46% 88% 67% 88%
3.0 C# .NET Core #7 15.41 874,632 1822 49.62 91% 75% 75% 83%
3.1 Java #4 48.75 185,160 1873 50.42 1% 96% 1% 7%
3.4 OCaml #3 20.02 261,944 1789 56.21 48% 91% 95% 48%
3.6 Go #6 16.08 149,180 1582 59.44 95% 90% 90% 97%
3.8 Lisp SBCL #6 16.99 535,356 2467 62.18 90% 100% 89% 89%
3.9 Go #3 17.09 149,120 1713 63.16 95% 94% 90% 93%
3.9 F# .NET Core #4 18.96 1,166,252 1477 63.62 82% 87% 90% 78%
3.9 F# .NET Core #3 26.18 1,180,032 1111 64.66 85% 77% 28% 60%
4.0 Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
4.1 Lisp SBCL 21.36 515,556 2413 66.49 99% 71% 71% 72%
4.1 OCaml 67.09 415,072 870 67.03 1% 100% 0% 1%
4.2 Java #5 30.64 186,028 2211 69.04 20% 89% 28% 91%
4.7 Swift #2 20.64 264,112 1366 76.31 93% 90% 96% 92%
4.8 Swift 23.83 184,236 1231 79.39 79% 96% 79% 82%
4.9 OCaml #2 34.31 392,376 1205 80.67 39% 83% 85% 30%
5.2 Racket #4 84.39 371,384 881 84.38 1% 1% 100% 0%
5.3 Fortran Intel 87.62 203,604 2238 87.57 1% 0% 100% 0%
5.5 Dart #2 33.38 2,045,004 2455 90.84 70% 61% 58% 86%
5.7 C# .NET Core #3 29.00 693,080 1404 92.60 78% 79% 95% 70%
6.2 C# .NET Core #4 28.47 868,788 1696 101.43 88% 87% 87% 96%
6.6 C# .NET Core 107.00 856,880 1420 108.33 2% 1% 2% 99%
7.0 Rust 42.84 177,720 1072 114.73 69% 76% 46% 78%
8.3 C# .NET Core #5 39.99 731,272 2445 135.83 83% 91% 86% 82%
8.7 PHP #4 43.96 235,632 1060 142.28 87% 100% 71% 72%
8.7 Lisp SBCL #3 142.67 517,612 1284 142.59 1% 0% 100% 1%
8.7 Lisp SBCL #2 142.88 517,776 1277 142.79 1% 100% 1% 0%
9.3 Node.js #2 62.09 2,089,424 904 152.72 82% 85% 95% 82%
9.6 Node.js 67.50 2,294,496 974 157.58 80% 89% 76% 76%
10 C# .NET Core #2 161.04 1,137,612 1012 165.05 28% 21% 27% 28%
10 Go #2 49.94 265,556 1531 165.46 70% 89% 77% 96%
11 Lua #2 182.12 572,508 613 180.68 1% 100% 1% 1%
11 TypeScript 184.21 514,760 708 184.19 1% 99% 1% 1%
11 Hack #4 53.87 286,948 1061 185.60 91% 99% 76% 80%
13 Go 58.30 391,800 980 207.93 86% 89% 99% 84%
13 Perl #2 216.14 536,960 359 215.98 100% 0% 1% 1%
14 Perl #4 68.40 1,069,012 472 223.62 93% 76% 68% 94%
14 Perl 63.38 1,131,644 648 230.49 92% 90% 95% 89%
14 F# .NET Core 70.23 937,712 701 232.52 82% 85% 84% 83%
15 Racket 240.84 1,315,380 542 240.77 4% 95% 1% 2%
16 Perl #3 72.76 1,146,924 507 254.58 97% 74% 84% 96%
17 Python 3 #3 84.73 221,028 1937 276.97 97% 93% 91% 91%
19 Dart 5 min 442,104 595 5 min 29% 9% 63% 2%
22 Ruby #7 101.95 381,312 852 6 min 84% 98% 85% 95%
23 Python 3 #8 120.84 451,468 647 6 min 96% 62% 95% 56%
25 Ruby #2 6 min 163,104 420 6 min 1% 1% 100% 1%
26 Ruby #3 7 min 163,760 540 7 min 27% 25% 25% 26%
27 Erlang HiPE #3 163.56 1,077,148 932 7 min 51% 57% 99% 64%
27 Erlang HiPE 206.47 3,561,784 930 7 min 58% 83% 76% 46%
29 Ruby 130.87 133,912 637 7 min 89% 95% 85% 93%
30 Erlang #3 175.10 892,448 932 8 min 69% 71% 94% 56%
32 Erlang 242.57 3,590,628 930 8 min 57% 71% 71% 71%
35 Ruby JRuby 182.54 1,587,804 637 9 min 78% 79% 73% 82%
35 Ruby JRuby #3 181.25 1,592,680 540 9 min 77% 88% 74% 84%
40 Smalltalk VW #5 10 min 387,932 1303 10 min 39% 63% 34% 21%
Haskell GHC #2 Make Error
Haskell GHC Make Error
Smalltalk VW #2 Bad Output