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.98 156,108 1631 5.92 96% 67% 68% 68%
1.4 Rust #7 2.81 131,400 1578 8.83 86% 73% 90% 64%
1.5 Rust #9 2.93 134,244 1841 9.48 77% 91% 89% 66%
1.7 C# .NET Core 3.29 182,332 2044 11.02 85% 70% 94% 86%
1.7 Rust #4 3.32 135,408 1749 10.51 86% 92% 84% 55%
1.7 Rust #8 3.34 135,336 1543 10.34 66% 61% 92% 90%
1.7 C gcc 3.43 130,252 1506 11.17 90% 92% 88% 56%
1.8 Rust #6 3.58 135,508 1671 10.93 84% 66% 72% 84%
2.0 F# .NET Core #6 3.95 182,004 1907 12.46 94% 78% 78% 66%
2.2 C++ g++ #3 4.30 165,844 1276 14.35 80% 97% 78% 79%
2.2 Rust #5 4.31 133,760 1739 12.67 93% 94% 63% 44%
2.3 Rust #3 4.47 133,900 1661 12.78 64% 90% 90% 42%
2.3 Java  4.57 485,000 1812 14.50 77% 74% 83% 82%
2.4 Julia #8 4.76 360,120 945 10.77 78% 56% 38% 53%
3.1 F# .NET Core #2 6.03 193,492 1926 22.35 94% 96% 91% 90%
3.1 Ada 2012 GNAT #2 6.21 258,432 4908 13.98 86% 17% 90% 32%
3.3 Rust #2 6.49 137,540 1347 16.99 70% 47% 75% 70%
3.5 Julia #7 6.96 359,976 1365 17.46 44% 63% 78% 65%
3.5 C++ g++ 7.01 756,268 1446 14.69 93% 90% 9% 18%
3.7 C# .NET Core #6 7.34 183,336 1603 20.27 55% 71% 53% 97%
3.7 Java #6 7.41 487,408 1607 25.68 89% 91% 83% 84%
3.7 Java #3 7.41 487,424 1635 25.78 91% 82% 92% 84%
4.1 Go #3 8.03 150,544 1722 30.53 97% 96% 95% 92%
4.2 Go #7 8.21 160,020 1607 31.83 97% 97% 96% 98%
4.2 Go #6 8.26 150,768 1590 31.44 100% 90% 94% 97%
4.6 Go #4 9.17 145,228 1543 31.98 68% 91% 98% 92%
4.9 Chapel #3 9.63 177,496 989 35.75 100% 89% 92% 91%
5.6 Lisp SBCL #6 11.00 512,400 2479 40.27 91% 89% 98% 88%
6.6 Lisp SBCL 13.03 546,776 2424 42.34 97% 75% 76% 77%
7.1 Swift #2 14.10 185,448 1367 54.12 98% 95% 96% 96%
7.6 OCaml #3 14.99 255,568 1833 41.18 94% 99% 40% 42%
7.6 Node js #3 15.06 398,672 1812 41.57 76% 60% 48% 92%
8.0 Java #5 15.81 229,272 2219 36.34 32% 85% 31% 82%
8.3 Lisp SBCL #5 16.46 153,836 2320 16.53 0% 100% 0% 0%
8.3 Lisp SBCL #4 16.50 153,764 2291 16.52 0% 0% 0% 100%
10 Haskell GHC 20.11 522,844 1059 74.17 94% 90% 95% 91%
11 Haskell GHC #2 22.67 756,900 1486 88.50 98% 97% 98% 97%
12 Rust 23.62 153,856 1078 64.84 80% 48% 81% 65%
12 Dart #3 24.01 515,616 1502 64.08 95% 87% 47% 38%
12 PHP #4 24.68 215,640 1079 88.67 93% 81% 96% 89%
18 Java #4 35.83 200,244 1882 36.55 92% 1% 9% 1%
19 Node js #2 36.72 1,825,616 935 112.64 67% 78% 82% 80%
19 Perl 37.86 1,253,064 652 132.61 84% 95% 87% 85%
20 Node js 39.75 1,880,980 1008 118.69 93% 69% 66% 71%
21 Perl #4 40.77 1,069,180 476 129.15 61% 96% 66% 94%
25 Python 3 #3 48.51 134,372 1967 185.66 94% 100% 94% 95%
27 Perl #3 52.64 1,147,316 513 169.08 70% 64% 91% 95%
27 Racket #4 52.74 419,632 885 53.08 0% 0% 100% 0%
31 Lisp SBCL #3 61.80 540,976 1290 62.16 100% 0% 0% 0%
31 Lisp SBCL #2 61.83 540,984 1284 62.17 0% 0% 100% 0%
35 Ruby #7 68.79 399,736 859 240.00 96% 80% 82% 91%
38 Ruby 76.08 145,060 644 267.12 79% 79% 96% 98%
39 Python 3 76.50 256,404 607 257.52 79% 65% 96% 96%
43 Erlang HiPE #3 84.67 830,416 937 238.48 68% 75% 61% 78%
44 Python 3 #8 86.59 501,516 655 259.66 59% 86% 58% 97%
45 Erlang HiPE 88.74 7,447,348 936 247.55 67% 61% 91% 60%
57 Perl #2 112.43 659,912 359 113.05 100% 0% 0% 0%
60 Lua #2 118.07 591,920 613 118.65 0% 0% 100% 0%
70 Racket 138.35 1,345,132 547 139.96 1% 0% 0% 100%
91 Matz's Ruby 179.62 126,924 644 9 min 95% 69% 67% 98%
100 Julia 196.88 1,938,528 695 196.79 0% 99% 0% 0%
115 Ruby #2 227.08 185,976 420 228.86 0% 0% 0% 100%
127 Ruby #3 251.96 194,820 540 254.13 28% 28% 23% 22%
211 VW Smalltalk #5 6 min 380,496 1317 7 min 0% 0% 0% 100%
229 Matz's Ruby #2 7 min 168,008 420 7 min 100% 0% 0% 0%
286 Dart 9 min 455,392 610 9 min 0% 0% 100% 0%
288 VW Smalltalk 9 min 384,952 1110 9 min 0% 55% 0% 46%
310 Matz's Ruby #7 10 min 419,052 870 34 min 97% 100% 71% 66%
346 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