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.95 156,372 1631 5.95 73% 70% 92% 70%
1.4 Rust #6 2.75 159,068 1691 10.20 99% 90% 91% 91%
1.6 Rust #7 3.10 131,476 1578 9.93 83% 93% 65% 80%
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%
2.0 C gcc 3.81 130,112 1506 12.18 54% 87% 79% 100%
2.0 Rust #8 3.82 133,520 1543 11.60 75% 73% 94% 61%
2.0 Rust #5 3.83 133,828 1739 11.43 88% 93% 44% 73%
2.1 C++ g++ #3 4.12 165,856 1276 13.98 81% 79% 98% 81%
2.6 Java  4.98 356,904 1812 16.25 78% 76% 96% 76%
2.8 Julia #8 5.37 370,020 951 12.17 26% 64% 77% 60%
3.2 F# .NET #2 6.14 197,396 1926 21.60 89% 87% 77% 99%
3.2 Ada 2012 GNAT #2 6.31 258,368 4908 13.97 22% 71% 39% 90%
3.3 C# .NET #6 6.33 183,208 1603 17.18 48% 48% 96% 79%
3.3 Rust #2 6.40 137,828 1347 16.85 74% 73% 71% 45%
3.4 Rust #9 6.60 135,060 1841 18.46 41% 93% 56% 89%
3.5 Rust #4 6.86 136,964 1749 19.35 36% 97% 50% 100%
3.6 C++ g++ 7.02 756,284 1446 14.80 30% 69% 20% 91%
3.8 Java #3 7.38 349,876 1635 25.92 98% 84% 85% 84%
3.8 Java #6 7.45 349,448 1607 26.22 90% 89% 85% 88%
3.8 Julia #7 7.49 388,556 1368 18.10 57% 67% 65% 53%
4.3 Go #7 8.30 160,300 1607 31.96 96% 98% 96% 95%
4.7 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.0 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.4 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%
6.9 Swift #2 13.46 256,584 1367 51.58 94% 99% 95% 96%
7.8 OCaml #3 15.09 255,396 1833 40.72 38% 94% 64% 74%
8.1 Node js #3 15.73 392,924 1812 43.25 91% 62% 75% 47%
8.5 Lisp SBCL #4 16.47 153,696 2291 16.51 0% 0% 100% 0%
8.5 Lisp SBCL #5 16.52 153,700 2320 16.58 0% 0% 100% 0%
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 Haskell GHC #2 22.02 638,132 1486 85.78 97% 99% 97% 97%
13 Dart #3 24.37 528,468 1520 65.55 67% 69% 47% 86%
13 Rust 25.10 150,192 1078 68.19 82% 43% 81% 66%
19 Java #4 36.78 201,364 1882 37.60 1% 32% 60% 10%
19 Node js #2 37.20 1,890,080 935 114.77 69% 64% 96% 79%
19 Perl 37.72 1,255,884 652 131.45 88% 89% 87% 85%
21 Perl #4 40.28 1,069,156 476 126.54 63% 88% 80% 84%
21 Node js 40.77 936,928 1008 118.26 60% 63% 73% 94%
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 67.38 992,136 885 67.81 0% 100% 0% 0%
38 Python 3 74.19 323,088 607 255.09 69% 95% 96% 84%
40 Ruby 77.22 146,188 576 271.55 81% 84% 93% 93%
44 Python 3 #8 86.57 499,100 655 259.65 61% 97% 59% 84%
45 Erlang HiPE #3 86.79 855,628 937 239.31 57% 66% 58% 94%
48 Erlang HiPE 92.66 7,082,912 936 244.65 55% 53% 68% 88%
58 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%
90 Matz's Ruby 174.82 126,732 576 9 min 69% 83% 86% 90%
98 Racket 189.87 1,751,928 547 189.89 99% 0% 0% 0%
104 Julia 203.33 1,959,864 695 204.37 0% 0% 99% 0%
125 Ruby #7 244.10 394,944 785 246.50 28% 26% 23% 24%
132 Ruby #3 256.06 208,308 540 259.50 26% 23% 24% 27%
144 Ruby #2 280.84 198,076 420 284.21 0% 1% 0% 100%
221 VW Smalltalk #5 7 min 385,208 1317 7 min 0% 67% 34% 0%
234 Matz's Ruby #2 7 min 168,112 420 7 min 0% 0% 0% 100%
290 Dart 9 min 456,368 623 9 min 82% 0% 14% 5%
294 VW Smalltalk 9 min 385,868 1110 9 min 0% 0% 0% 100%
306 Matz's Ruby #7 9 min 452,440 870 33 min 71% 90% 89% 84%
354 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