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 low-level programs written for SIMD.

× 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.76 159,224 1691 10.20 90% 98% 91% 90%
1.6 Rust #7 3.14 131,448 1578 10.22 67% 100% 91% 68%
1.7 C# .NET 3.28 182,680 2044 11.09 87% 83% 73% 94%
1.9 F# .NET #6 3.65 184,680 1907 12.58 94% 84% 85% 83%
2.0 Rust #5 3.81 133,952 1739 11.32 90% 71% 93% 43%
2.0 C gcc 3.81 130,112 1506 12.18 54% 87% 79% 100%
2.0 Rust #8 3.93 133,404 1543 12.09 90% 62% 61% 94%
2.1 C++ g++ #3 4.12 165,856 1276 13.98 81% 79% 98% 81%
2.4 Julia #8 4.66 360,436 945 10.68 39% 52% 53% 85%
2.6 Java  5.00 408,040 1812 16.36 74% 81% 86% 86%
3.2 F# .NET #2 6.14 197,396 1926 21.60 89% 87% 77% 99%
3.2 C# .NET #6 6.21 182,888 1603 16.82 49% 96% 76% 50%
3.2 Rust #2 6.30 137,668 1347 17.03 73% 75% 74% 48%
3.2 Ada 2012 GNAT #2 6.31 258,368 4908 13.97 22% 71% 39% 90%
3.4 Rust #9 6.59 134,940 1841 18.75 93% 37% 58% 96%
3.5 Julia #7 6.82 358,544 1365 16.89 57% 67% 46% 78%
3.5 Rust #4 6.86 136,428 1749 19.09 56% 93% 90% 39%
3.6 C++ g++ 7.02 756,284 1446 14.80 30% 69% 20% 91%
3.8 Java #6 7.41 419,660 1607 25.99 90% 82% 92% 87%
3.8 Java #3 7.43 419,260 1635 26.02 85% 86% 90% 89%
4.3 Go #7 8.29 160,156 1607 32.00 96% 96% 98% 96%
4.5 Go #3 8.83 150,520 1722 32.84 87% 97% 89% 99%
4.6 Go #6 8.89 150,596 1590 32.59 87% 86% 98% 97%
4.9 Go #4 9.63 145,600 1543 33.14 73% 87% 98% 87%
5.4 Chapel #3 10.43 177,052 996 38.90 100% 90% 91% 92%
5.6 Lisp SBCL #6 10.97 538,460 2479 39.94 88% 89% 88% 99%
6.7 Lisp SBCL 13.02 382,840 2424 41.94 76% 73% 74% 98%
7.3 Swift #2 14.26 256,316 1367 54.61 97% 95% 95% 96%
7.6 OCaml #3 14.87 255,560 1833 40.68 48% 50% 86% 90%
7.9 Node js #3 15.48 395,304 1812 42.72 77% 92% 61% 46%
8.5 Lisp SBCL #5 16.60 154,156 2320 16.70 100% 1% 0% 0%
8.5 Lisp SBCL #4 16.60 154,184 2291 16.65 0% 0% 100% 0%
9.0 Java #5 17.49 208,408 2219 41.64 59% 95% 40% 44%
10 Haskell GHC 20.01 522,656 1059 73.95 90% 91% 95% 94%
10 PHP #4 20.15 254,792 1079 69.22 91% 96% 80% 76%
12 Haskell GHC #2 22.63 756,708 1486 88.26 98% 97% 98% 97%
12 Dart #3 23.32 526,360 1502 64.03 99% 88% 53% 34%
13 Rust 25.58 152,008 1078 69.58 48% 44% 80% 100%
18 Java #4 36.02 198,196 1882 36.76 0% 92% 1% 9%
19 Perl 37.72 1,255,884 652 131.45 88% 89% 87% 85%
20 Node js #2 38.98 1,858,208 935 124.09 67% 95% 77% 80%
20 Node js 39.18 1,564,872 1008 117.79 64% 68% 77% 91%
21 Perl #4 40.28 1,069,156 476 126.54 63% 88% 80% 84%
24 Python 3 #3 46.37 239,472 1967 176.69 94% 95% 98% 94%
27 Racket #4 52.28 417,576 885 53.32 0% 1% 100% 1%
29 Perl #3 56.87 1,146,848 513 190.20 77% 82% 91% 84%
33 Lisp SBCL #2 63.41 317,820 1284 63.88 0% 100% 0% 0%
33 Lisp SBCL #3 63.70 317,816 1290 64.06 0% 0% 0% 100%
37 Ruby #7 72.19 400,272 859 265.83 100% 88% 95% 86%
39 Python 3 76.10 360,312 607 259.18 97% 69% 82% 93%
45 Erlang HiPE #3 86.79 855,628 937 239.31 57% 66% 58% 94%
45 Python 3 #8 87.67 500,848 655 260.61 58% 98% 83% 59%
48 Erlang HiPE 92.66 7,082,912 936 244.65 55% 53% 68% 88%
48 Ruby 93.15 146,572 644 5 min 97% 87% 89% 96%
58 Perl #2 113.76 659,832 359 115.91 0% 1% 100% 1%
61 Lua #2 119.24 596,500 613 119.78 0% 100% 0% 0%
71 Racket 138.80 1,345,128 547 141.56 1% 1% 1% 100%
92 Matz's Ruby 179.62 126,924 644 9 min 95% 69% 67% 98%
101 Julia 196.54 1,940,444 695 197.74 1% 1% 0% 99%
153 Ruby #2 298.14 197,524 420 5 min 100% 1% 0% 1%
180 Ruby #3 5 min 205,108 540 5 min 26% 23% 25% 26%
221 VW Smalltalk #5 7 min 385,208 1317 7 min 0% 67% 34% 0%
233 Matz's Ruby #2 7 min 168,008 420 7 min 100% 0% 0% 0%
292 Dart 9 min 457,648 610 9 min 55% 24% 21% 0%
294 VW Smalltalk 9 min 385,868 1110 9 min 0% 0% 0% 100%
315 Matz's Ruby #7 10 min 419,052 870 34 min 97% 100% 71% 66%
351 Matz's Ruby #3 11 min 168,844 540 11 min 0% 0% 0% 100%
Intel Fortran Make Error
OCaml #2 Make Error
OCaml Make Error
Swift Make Error