The Computer Language
Benchmarks Game

k-nucleotide

Always look at the source code.

Look at the slower simple sequential programs, and  look at the parallel programs written for multicore, and  look at the manually vectorized SIMD programs.

× source secs mem gz busy cpu load
1.0 C++ g++ #2 1.93 156,548 1631 5.88 69% 93% 69% 75%
1.4 Rust #6 2.68 159,104 1691 10.03 92% 91% 100% 91%
1.5 Rust #7 2.82 133,332 1578 9.17 77% 85% 93% 71%
1.7 Rust #8 3.28 137,564 1543 10.30 93% 53% 74% 94%
1.7 C# .NET 3.29 182,860 2044 11.20 99% 86% 66% 90%
1.9 F# .NET #6 3.65 184,680 1907 12.58 94% 84% 85% 83%
1.9 C gcc 3.72 130,260 1506 12.07 100% 89% 78% 57%
1.9 Rust #5 3.76 134,260 1739 11.37 68% 95% 94% 46%
2.2 C++ g++ #3 4.16 165,896 1276 13.79 95% 81% 78% 78%
2.6 Java  4.98 356,904 1812 16.25 78% 76% 96% 76%
2.7 Julia #8 5.12 374,876 951 11.36 63% 72% 38% 49%
3.2 F# .NET #2 6.14 197,396 1926 21.60 89% 87% 77% 99%
3.3 C# .NET #6 6.33 183,208 1603 17.18 48% 48% 96% 79%
3.3 Rust #2 6.34 137,844 1347 16.38 69% 42% 75% 73%
3.4 Rust #9 6.59 135,048 1841 19.09 52% 44% 97% 97%
3.4 Ada 2012 GNAT #2 6.65 258,464 4908 13.94 25% 100% 19% 65%
3.6 C++ g++ 6.97 756,408 1446 15.38 14% 94% 93% 20%
3.6 Rust #4 6.97 137,388 1749 19.47 41% 91% 50% 97%
3.8 Java #3 7.38 349,876 1635 25.92 98% 84% 85% 84%
3.9 Java #6 7.45 349,448 1607 26.22 90% 89% 85% 88%
3.9 Julia #7 7.49 388,972 1368 18.04 56% 68% 43% 74%
4.3 Go #7 8.30 160,300 1607 31.96 96% 98% 96% 95%
4.8 Go #6 9.21 151,744 1590 33.14 94% 85% 98% 83%
4.9 Go #3 9.48 150,892 1722 34.13 98% 91% 88% 84%
5.1 Go #4 9.82 145,984 1543 33.48 72% 98% 86% 86%
5.3 Lisp SBCL #6 10.29 512,240 2479 37.48 88% 99% 88% 90%
5.5 Chapel #3 10.59 177,148 1007 39.33 100% 90% 92% 90%
6.4 Lisp SBCL 12.38 580,808 2424 39.82 75% 74% 99% 73%
7.0 Swift #2 13.56 256,964 1367 52.30 96% 95% 96% 99%
7.8 OCaml #3 15.09 255,396 1833 40.72 38% 94% 64% 74%
8.1 Node js #3 15.68 397,548 1812 44.40 82% 95% 44% 62%
8.5 Lisp SBCL #4 16.47 153,696 2291 16.51 0% 0% 100% 0%
8.6 Lisp SBCL #5 16.52 153,700 2320 16.58 0% 0% 100% 0%
8.6 Dart #3 16.66 326,548 1520 49.39 77% 71% 73% 75%
9.4 Java #5 18.22 210,572 2219 42.22 31% 22% 93% 85%
10 PHP #4 20.15 254,792 1079 69.22 91% 96% 80% 76%
11 Rust 21.57 152,376 1078 64.03 62% 94% 50% 90%
11 Haskell GHC #2 22.02 638,132 1486 85.78 97% 99% 97% 97%
19 Java #4 36.78 201,364 1882 37.60 1% 32% 60% 10%
19 Node js #2 37.48 1,883,688 935 116.88 68% 97% 67% 79%
20 Perl 37.72 1,255,884 652 131.45 88% 89% 87% 85%
21 Node js 40.14 1,922,984 1008 118.41 60% 96% 75% 64%
21 Perl #4 40.28 1,069,156 476 126.54 63% 88% 80% 84%
24 Python 3 #3 46.28 241,108 1967 176.42 94% 97% 95% 96%
29 Perl #3 56.87 1,146,848 513 190.20 77% 82% 91% 84%
31 Lisp SBCL #2 59.82 614,924 1284 60.11 0% 100% 0% 0%
31 Lisp SBCL #3 60.13 614,984 1290 60.43 0% 0% 100% 0%
35 Racket #4 66.89 989,352 885 67.26 0% 0% 0% 100%
38 Python 3 74.19 323,088 607 255.09 69% 95% 96% 84%
39 Erlang #3 74.78 867,508 937 212.13 58% 62% 68% 96%
40 Ruby 77.22 146,188 576 271.55 81% 84% 93% 93%
43 Erlang 83.13 8,655,640 936 221.76 66% 53% 68% 80%
45 Python 3 #8 86.57 499,100 655 259.65 61% 97% 59% 84%
59 Perl #2 113.76 659,832 359 115.91 0% 1% 100% 1%
59 Lua #2 114.82 596,536 613 115.62 0% 100% 0% 0%
91 Matz's Ruby 174.82 126,732 576 9 min 69% 83% 86% 90%
102 Julia 197.44 1,959,532 695 197.88 99% 0% 1% 1%
106 Racket 204.33 1,783,544 547 203.86 99% 0% 0% 0%
126 Ruby #7 244.10 394,944 785 246.50 28% 26% 23% 24%
133 Ruby #3 256.06 208,308 540 259.50 26% 23% 24% 27%
146 Ruby #2 280.84 198,076 420 284.21 0% 1% 0% 100%
222 VW Smalltalk #5 7 min 385,208 1317 7 min 0% 67% 34% 0%
236 Matz's Ruby #2 7 min 168,112 420 7 min 0% 0% 0% 100%
294 Dart 9 min 347,080 623 9 min 11% 0% 0% 89%
297 VW Smalltalk 9 min 385,868 1110 9 min 0% 0% 0% 100%
308 Matz's Ruby #7 9 min 452,440 870 33 min 71% 90% 89% 84%
357 Matz's Ruby #3 11 min 168,588 540 11 min 100% 0% 0% 0%
Intel Fortran Make Error
Haskell GHC #3 Make Error
Haskell GHC Make Error
OCaml #2 Make Error
OCaml Make Error
Swift Make Error