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.98 137,872 1748 15.58 72% 88% 57% 98%
1.0 Rust #6 5.21 137,660 1668 15.81 70% 69% 83% 83%
1.0 Rust #7 5.30 137,912 1647 15.90 84% 76% 83% 68%
1.2 C gcc 6.67 130,160 1506 19.33 76% 50% 92% 75%
1.5 Rust #5 9.39 140,080 1739 23.88 94% 33% 93% 38%
1.5 C++ g++ 11.52 756,276 1446 24.11 88% 13% 21% 90%
1.6 Rust #3 9.67 137,372 1661 24.18 35% 100% 25% 90%
1.6 Ada 2005 GNAT #2 11.32 258,596 4908 25.26 30% 65% 42% 87%
1.7 C++ g++ #3 7.75 165,180 1276 26.02 80% 96% 82% 79%
1.7 Java  8.70 375,568 1812 27.17 80% 72% 74% 88%
2.4 F# .NET Core #2 10.43 195,348 1926 36.77 96% 88% 84% 86%
2.4 Lisp SBCL #5 37.12 152,812 2320 37.09 0% 62% 38% 0%
2.4 Lisp SBCL #4 37.54 152,780 2291 37.51 0% 1% 1% 100%
2.4 C# .NET Core #5 13.37 181,368 2319 37.80 96% 31% 97% 60%
2.4 C# .NET Core #6 14.25 184,192 1603 38.18 97% 72% 50% 51%
2.5 C# .NET Core #9 12.31 201,500 2283 39.45 78% 74% 97% 73%
2.6 C# .NET Core #8 11.47 189,036 2044 40.36 96% 95% 74% 87%
2.6 Java #6 12.03 371,972 1607 40.78 87% 81% 81% 90%
2.7 Java #3 12.20 372,564 1635 41.63 82% 83% 82% 94%
3.0 Rust #2 17.17 139,712 1347 47.53 87% 63% 88% 39%
3.5 C# .NET Core #7 16.67 841,468 1838 53.91 92% 76% 76% 82%
3.6 Go #3 14.98 147,704 1722 55.60 97% 88% 92% 95%
3.8 Go #6 15.89 147,960 1590 58.52 90% 96% 90% 93%
3.9 Java #4 59.65 197,920 1882 60.76 10% 2% 90% 1%
4.0 F# .NET Core #4 19.29 1,198,184 1509 62.95 90% 80% 75% 83%
4.1 Lisp SBCL #6 17.37 542,680 2479 63.34 88% 89% 100% 88%
4.2 F# .NET Core #3 26.92 1,244,556 1111 65.24 77% 55% 79% 33%
4.3 Chapel 18.31 293,140 1063 66.47 100% 88% 88% 88%
4.3 Lisp SBCL 21.71 382,488 2424 67.69 71% 100% 71% 70%
4.9 Swift #2 20.55 193,992 1366 76.16 91% 97% 92% 91%
4.9 Java #5 34.24 223,012 2219 76.96 50% 92% 20% 65%
5.0 Swift 23.49 182,152 1231 77.70 80% 93% 78% 81%
5.3 Racket #4 82.03 374,608 881 82.02 100% 1% 0% 0%
5.9 Dart #2 33.48 2,043,956 2467 91.87 58% 71% 80% 67%
6.1 C# .NET Core #4 26.77 777,296 1702 94.57 87% 95% 89% 83%
6.4 C# .NET Core 98.44 724,320 1425 99.77 1% 98% 2% 1%
7.8 Haskell GHC #2 35.01 644,356 1486 122.09 86% 87% 89% 97%
7.8 Rust 44.80 152,612 1078 122.10 68% 78% 47% 81%
8.2 Go #2 38.98 272,128 1560 127.82 89% 95% 72% 72%
8.7 Node.js #2 61.72 1,824,796 935 136.24 71% 75% 76% 96%
9.0 Lisp SBCL #3 140.47 320,176 1290 140.41 0% 17% 84% 0%
9.0 Lisp SBCL #2 141.07 320,176 1284 141.01 7% 0% 1% 93%
9.1 Haskell GHC 37.81 523,440 1059 141.49 95% 94% 92% 96%
9.1 C# .NET Core #2 137.99 1,057,704 1018 141.61 24% 28% 29% 23%
9.3 Node.js 66.15 2,578,056 1008 144.32 66% 80% 72% 87%
9.4 PHP #4 43.83 235,524 1079 146.88 80% 89% 73% 95%
12 Go 52.06 398,280 986 183.04 99% 89% 82% 83%
12 Lua #2 184.25 513,992 613 183.19 81% 1% 1% 20%
13 Hack #4 59.22 293,544 1081 201.51 90% 89% 77% 88%
13 C# .NET Core #3 61.81 672,520 1404 201.93 74% 97% 80% 77%
14 Perl #4 64.22 1,068,544 476 215.42 78% 78% 83% 97%
14 Perl #2 218.34 658,792 359 218.24 0% 100% 1% 0%
15 Perl 65.91 1,253,764 652 226.02 87% 90% 88% 84%
15 F# .NET Core 72.69 850,760 701 228.94 78% 78% 82% 78%
15 Perl #3 69.99 1,146,448 513 234.72 71% 75% 94% 95%
15 Racket 234.93 1,316,664 542 234.84 0% 95% 6% 1%
19 Python 3 #3 77.65 182,700 1967 5 min 97% 99% 97% 98%
20 Dart 5 min 411,572 610 5 min 10% 45% 47% 1%
21 Erlang HiPE #3 113.83 798,548 937 5 min 83% 67% 69% 70%
21 Erlang HiPE 143.45 3,270,888 936 5 min 73% 59% 62% 56%
24 Ruby #7 101.95 381,312 852 6 min 84% 98% 85% 95%
26 Ruby #2 6 min 163,104 420 6 min 1% 1% 100% 1%
26 Python 3 #8 133.80 496,140 655 6 min 92% 56% 96% 57%
27 Python 3 131.60 309,992 607 6 min 94% 72% 76% 74%
28 Ruby #3 7 min 163,760 540 7 min 27% 25% 25% 26%
30 Ruby 130.87 133,912 637 7 min 89% 95% 85% 93%
42 Smalltalk VW #5 10 min 387,932 1303 10 min 39% 63% 34% 21%
60 Ruby JRuby 246.68 1,127,988 637 15 min 94% 97% 94% 93%
65 Ruby JRuby #3 270.04 1,122,188 540 16 min 95% 95% 93% 93%
Fortran Intel Failed
OCaml Make Error
OCaml #2 Make Error
OCaml #3 Make Error
TypeScript Failed