The Computer Language
Benchmarks Game

k-nucleotide

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Node.js #2 66.07 76,980 904 152.53 96% 77% 78% 77%
1.7 C gcc 5.38 129,772 1499 16.37 61% 82% 89% 74%
1.7 Ruby 130.87 133,912 637 7 min 89% 95% 85% 93%
1.9 Go #6 14.87 149,108 1582 53.10 84% 96% 82% 97%
1.9 Go #3 14.79 149,212 1713 53.03 88% 90% 96% 87%
2.1 Rust #2 16.53 160,904 1324 46.41 87% 52% 100% 43%
2.1 Rust #7 5.56 162,188 1627 16.48 73% 83% 85% 58%
2.1 Ruby #2 6 min 163,104 420 6 min 1% 1% 100% 1%
2.1 Ruby #3 7 min 163,760 540 7 min 27% 25% 25% 26%
2.1 C++ g++ #3 7.18 164,052 1252 24.28 83% 83% 93% 83%
2.2 Lisp SBCL #4 32.99 167,720 2272 32.96 0% 100% 0% 1%
2.2 Lisp SBCL #5 33.08 167,720 2301 33.04 1% 1% 100% 1%
2.3 Swift 23.99 177,880 1231 78.61 97% 77% 77% 78%
2.3 Rust 43.35 177,884 1072 118.30 59% 78% 68% 70%
2.6 Java  #4 55.61 203,368 1873 56.78 2% 3% 1% 98%
2.6 Fortran Intel 87.62 203,604 2238 87.57 1% 0% 100% 0%
2.9 Python 3 #3 84.73 221,028 1937 276.97 97% 93% 91% 91%
2.9 Java #5 32.96 226,652 2211 72.70 96% 29% 83% 15%
3.0 C# .NET Core #6 13.28 228,732 1585 37.56 96% 61% 69% 58%
3.0 C# .NET Core #9 12.37 231,336 2251 39.09 97% 70% 78% 72%
3.0 C# .NET Core #8 14.04 234,188 2216 53.54 99% 97% 93% 93%
3.1 PHP #4 43.96 235,632 1060 142.28 87% 100% 71% 72%
3.2 Swift #2 20.73 246,548 1366 76.47 94% 94% 90% 92%
3.4 Ada 2005 GNAT #2 12.94 258,312 4865 31.07 55% 80% 21% 86%
3.4 OCaml #3 19.69 259,992 1789 54.82 71% 90% 50% 70%
3.4 Go #2 38.74 265,468 1531 124.55 76% 85% 82% 80%
3.7 Hack #4 53.87 286,948 1061 185.60 91% 99% 76% 80%
4.2 Python 3 113.33 324,880 599 6 min 75% 98% 79% 80%
4.3 Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
4.8 Java #3 11.71 372,176 1630 40.06 88% 84% 83% 89%
4.8 Java #6 11.80 372,888 1602 40.14 89% 82% 91% 80%
4.9 Racket #4 82.03 374,608 881 82.02 100% 1% 0% 0%
4.9 Java 8.38 375,988 1802 26.25 73% 97% 70% 74%
5.0 Ruby #7 101.95 381,312 852 6 min 84% 98% 85% 95%
5.0 Smalltalk VW #5 10 min 387,932 1303 10 min 39% 63% 34% 21%
5.1 OCaml #2 33.67 392,488 1205 78.69 31% 31% 89% 84%
5.2 Go 58.14 398,844 980 192.15 84% 85% 80% 94%
5.4 Dart 5 min 414,252 595 5 min 1% 25% 75% 2%
5.4 OCaml 65.92 416,204 870 65.86 0% 1% 100% 0%
5.9 Python 3 #8 120.84 451,468 647 6 min 96% 62% 95% 56%
6.7 Lisp SBCL #3 139.26 513,180 1284 139.20 1% 100% 0% 1%
6.7 Lisp SBCL #2 138.83 513,180 1277 138.76 1% 1% 100% 0%
6.8 Lisp SBCL 21.11 526,344 2413 66.46 72% 100% 72% 72%
6.8 Haskell GHC 40.32 527,252 1052 140.96 87% 88% 89% 93%
6.9 Lisp SBCL #6 17.02 530,460 2467 62.38 89% 100% 89% 89%
7.0 Perl #2 216.14 536,960 359 215.98 100% 0% 1% 1%
7.4 Lua #2 182.12 572,508 613 180.68 1% 100% 1% 1%
8.4 Haskell GHC #2 32.33 643,572 1463 124.08 97% 95% 95% 98%
9.3 C# .NET Core #3 26.18 714,516 1404 89.80 80% 86% 92% 88%
9.5 C# .NET Core 98.48 731,448 1420 99.79 2% 2% 98% 1%
9.8 C# .NET Core #4 26.60 750,804 1696 93.62 87% 83% 86% 98%
9.8 C++ g++ 8.67 756,560 1428 18.86 20% 87% 25% 89%
10 C# .NET Core #5 39.69 762,700 2445 134.60 88% 82% 82% 90%
11 C# .NET Core #7 15.62 871,152 1822 50.40 74% 90% 85% 75%
11 F# .NET Core 71.17 882,596 701 227.63 83% 84% 80% 77%
12 Erlang #3 175.10 892,448 932 8 min 69% 71% 94% 56%
14 Perl #4 68.40 1,069,012 472 223.62 93% 76% 68% 94%
14 Erlang HiPE #3 163.56 1,077,148 932 7 min 51% 57% 99% 64%
14 C# .NET Core #2 144.77 1,091,472 1012 148.65 27% 27% 26% 24%
15 F# .NET Core #4 19.25 1,117,236 1477 62.56 80% 96% 74% 77%
15 Ruby JRuby #3 270.04 1,122,188 540 16 min 95% 95% 93% 93%
15 Ruby JRuby 246.68 1,127,988 637 15 min 94% 97% 94% 93%
15 Perl 63.38 1,131,644 648 230.49 92% 90% 95% 89%
15 Perl #3 72.76 1,146,924 507 254.58 97% 74% 84% 96%
16 F# .NET Core #3 26.12 1,259,252 1111 63.90 71% 91% 52% 35%
17 Racket 234.93 1,316,664 542 234.84 0% 95% 6% 1%
18 Node.js 71.70 1,417,228 974 161.33 75% 99% 71% 69%
27 Dart #2 32.73 2,115,796 2455 90.04 63% 66% 72% 77%
46 Erlang HiPE 206.47 3,561,784 930 7 min 58% 83% 76% 46%
47 Erlang 242.57 3,590,628 930 8 min 57% 71% 71% 71%
Rust #5 Make Error
Rust #6 Make Error
Rust #3 Make Error
Rust #4 Make Error
TypeScript Failed
Smalltalk VW #2 Bad Output