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.70 159,048 1691 10.08 93% 92% 91% 99%
1.5 Rust #7 2.80 133,416 1578 9.36 97% 72% 72% 93%
1.7 Rust #8 3.24 137,812 1543 10.28 100% 92% 68% 57%
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%
2.0 Rust #5 3.83 133,856 1739 11.82 50% 64% 98% 97%
2.2 C++ g++ #3 4.16 165,896 1276 13.79 95% 81% 78% 78%
2.5 Java  4.85 354,288 1812 15.92 80% 85% 87% 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.38 137,872 1347 16.42 43% 71% 69% 75%
3.4 Rust #9 6.50 134,972 1841 18.63 93% 58% 97% 38%
3.4 Ada 2012 GNAT #2 6.65 258,464 4908 13.94 25% 100% 19% 65%
3.5 Rust #4 6.70 136,352 1749 18.82 95% 49% 97% 39%
3.6 C++ g++ 6.97 756,408 1446 15.38 14% 94% 93% 20%
3.8 Java #3 7.33 350,336 1635 26.15 86% 85% 87% 98%
3.8 Java #6 7.37 349,820 1607 26.16 95% 84% 89% 86%
3.9 Go #7 7.46 160,328 1607 28.71 98% 95% 95% 97%
3.9 Julia #7 7.49 388,972 1368 18.04 56% 68% 43% 74%
4.2 Go #3 8.06 150,488 1722 30.05 97% 89% 100% 87%
4.6 Go #6 8.85 150,476 1590 30.96 80% 81% 90% 98%
4.9 Go #4 9.46 145,264 1543 31.57 81% 71% 100% 82%
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.2 Node js #3 15.82 396,716 1812 44.48 63% 47% 81% 90%
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%
10 Java #5 20.06 210,408 2219 44.42 81% 94% 17% 30%
10 PHP #4 20.15 254,792 1079 69.22 91% 96% 80% 76%
11 Rust 21.98 151,496 1078 64.19 100% 91% 50% 51%
11 Haskell GHC #2 22.02 638,132 1486 85.78 97% 99% 97% 97%
19 Java #4 36.71 202,148 1882 37.74 9% 25% 68% 1%
19 Node js #2 37.46 1,901,440 935 115.19 66% 97% 79% 66%
20 Perl 37.72 1,255,884 652 131.45 88% 89% 87% 85%
21 Node js 40.20 1,603,676 1008 118.46 63% 70% 76% 85%
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 Make Error
OCaml #2 Make Error
OCaml Make Error
Swift Make Error