The Computer Language
Benchmarks Game

k-nucleotide

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Rust #4 4.86 137,656 1748 15.42 57% 100% 75% 88%
1.1 Rust #6 5.24 137,932 1668 15.87 83% 100% 69% 52%
1.1 Rust #7 5.28 137,948 1647 15.84 68% 52% 100% 81%
1.4 C gcc 6.67 130,160 1506 19.33 76% 50% 92% 75%
1.6 C++ g++ #3 7.75 165,180 1276 26.02 80% 96% 82% 79%
1.8 Java  8.70 375,568 1812 27.17 80% 72% 74% 88%
2.0 Rust #5 9.48 145,204 1739 24.13 94% 99% 37% 27%
2.0 Rust #3 9.61 137,372 1661 24.17 36% 100% 26% 91%
2.1 F# .NET Core #2 10.43 195,348 1926 36.77 96% 88% 84% 86%
2.2 F# .NET Core #5 10.44 195,944 1959 38.11 95% 92% 92% 86%
2.3 Ada 2005 GNAT #2 11.32 258,596 4908 25.26 30% 65% 42% 87%
2.4 C# .NET Core #8 11.47 189,036 2044 40.36 96% 95% 74% 87%
2.4 C++ g++ 11.52 756,276 1446 24.11 88% 13% 21% 90%
2.5 Java #6 12.03 371,972 1607 40.78 87% 81% 81% 90%
2.5 Java #3 12.20 372,564 1635 41.63 82% 83% 82% 94%
2.5 C# .NET Core #9 12.31 201,500 2283 39.45 78% 74% 97% 73%
2.8 C# .NET Core #5 13.37 181,368 2319 37.80 96% 31% 97% 60%
2.9 C# .NET Core #6 14.25 184,192 1603 38.18 97% 72% 50% 51%
3.1 Go #3 14.98 147,704 1722 55.60 97% 88% 92% 95%
3.3 Go #6 15.89 147,960 1590 58.52 90% 96% 90% 93%
3.4 C# .NET Core #7 16.67 841,468 1838 53.91 92% 76% 76% 82%
3.5 Rust #2 17.07 138,080 1347 47.49 72% 87% 63% 57%
3.6 Lisp SBCL #6 17.37 542,680 2479 63.34 88% 89% 100% 88%
3.8 Chapel 18.31 293,140 1063 66.47 100% 88% 88% 88%
4.0 F# .NET Core #4 19.29 1,198,184 1509 62.95 90% 80% 75% 83%
4.2 Swift #2 20.55 193,992 1366 76.16 91% 97% 92% 91%
4.5 OCaml #3 21.63 255,436 1833 57.55 47% 39% 94% 89%
4.5 Lisp SBCL 21.71 382,488 2424 67.69 71% 100% 71% 70%
4.8 Swift 23.49 182,152 1231 77.70 80% 93% 78% 81%
5.5 C# .NET Core #4 26.77 777,296 1702 94.57 87% 95% 89% 83%
5.5 F# .NET Core #3 26.92 1,244,556 1111 65.24 77% 55% 79% 33%
6.9 Dart #2 33.48 2,043,956 2467 91.87 58% 71% 80% 67%
7.1 Java #5 34.24 223,012 2219 76.96 50% 92% 20% 65%
7.2 Haskell GHC #2 35.01 644,356 1486 122.09 86% 87% 89% 97%
7.6 Lisp SBCL #5 37.12 152,812 2320 37.09 0% 62% 38% 0%
7.7 Lisp SBCL #4 37.54 152,780 2291 37.51 0% 1% 1% 100%
7.8 Haskell GHC 37.81 523,440 1059 141.49 95% 94% 92% 96%
8.0 Go #2 38.98 272,128 1560 127.82 89% 95% 72% 72%
8.5 PHP #4 41.39 242,044 1079 133.27 83% 76% 73% 91%
9.1 Rust 44.03 152,644 1078 120.30 99% 80% 48% 47%
11 Go 52.06 398,280 986 183.04 99% 89% 82% 83%
12 Hack #4 59.22 293,544 1081 201.51 90% 89% 77% 88%
12 Java #4 59.65 197,920 1882 60.76 10% 2% 90% 1%
13 Node.js #2 61.72 1,824,796 935 136.24 71% 75% 76% 96%
13 C# .NET Core #3 61.81 672,520 1404 201.93 74% 97% 80% 77%
13 Perl #4 64.22 1,068,544 476 215.42 78% 78% 83% 97%
14 Perl 65.91 1,253,764 652 226.02 87% 90% 88% 84%
14 Node.js 66.15 2,578,056 1008 144.32 66% 80% 72% 87%
14 Perl #3 69.99 1,146,448 513 234.72 71% 75% 94% 95%
15 F# .NET Core 72.69 850,760 701 228.94 78% 78% 82% 78%
16 Python 3 #3 77.65 182,700 1967 5 min 97% 99% 97% 98%
17 Racket #4 82.03 374,608 881 82.02 100% 1% 0% 0%
20 C# .NET Core 98.44 724,320 1425 99.77 1% 98% 2% 1%
21 Ruby #7 101.95 381,312 852 6 min 84% 98% 85% 95%
23 Erlang HiPE #3 113.83 798,548 937 5 min 83% 67% 69% 70%
27 Ruby 130.87 133,912 637 7 min 89% 95% 85% 93%
27 Python 3 131.60 309,992 607 6 min 94% 72% 76% 74%
28 Python 3 #8 133.80 496,140 655 6 min 92% 56% 96% 57%
28 C# .NET Core #2 137.99 1,057,704 1018 141.61 24% 28% 29% 23%
29 Lisp SBCL #3 140.47 320,176 1290 140.41 0% 17% 84% 0%
29 Lisp SBCL #2 141.07 320,176 1284 141.01 7% 0% 1% 93%
30 Erlang HiPE 143.45 3,270,888 936 5 min 73% 59% 62% 56%
38 Lua #2 184.25 513,992 613 183.19 81% 1% 1% 20%
45 Perl #2 218.34 658,792 359 218.24 0% 100% 1% 0%
48 Racket 234.93 1,316,664 542 234.84 0% 95% 6% 1%
51 Ruby JRuby 246.68 1,127,988 637 15 min 94% 97% 94% 93%
56 Ruby JRuby #3 270.04 1,122,188 540 16 min 95% 95% 93% 93%
64 Ruby MRI 5 min 126,784 637 16 min 67% 92% 72% 98%
64 Dart 5 min 411,572 610 5 min 10% 45% 47% 1%
83 Ruby #2 6 min 163,104 420 6 min 1% 1% 100% 1%
89 Ruby #3 7 min 163,760 540 7 min 27% 25% 25% 26%
134 Smalltalk VW #5 10 min 387,932 1303 10 min 39% 63% 34% 21%
178 Matz's Interpreter #2 14 min 168,116 420 14 min 57% 0% 1% 43%
279 Matz's Interpreter #3 22 min 168,380 540 22 min 32% 25% 43% 0%
Fortran Intel Failed
OCaml Make Error
OCaml #2 Make Error
Matz's Interpreter #7 Failed
TypeScript Failed