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.93 156,432 1631 5.93 69% 70% 70% 98%
1.7 Rust #7 3.22 131,280 1578 10.56 92% 89% 73% 74%
1.7 C# .NET Core 3.29 182,572 2044 11.14 71% 94% 89% 85%
1.9 C gcc 3.71 130,048 1506 12.15 100% 90% 82% 55%
2.0 Rust #5 3.80 134,240 1739 11.29 43% 96% 72% 86%
2.0 Rust #8 3.86 135,328 1543 12.18 80% 55% 94% 87%
2.0 F# .NET Core #6 3.95 182,004 1907 12.46 94% 78% 78% 66%
2.1 C++ g++ #3 4.09 165,816 1276 13.71 96% 81% 77% 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.1 F# .NET Core #2 6.03 193,492 1926 22.35 94% 96% 91% 90%
3.3 Ada 2012 GNAT #2 6.31 258,368 4908 13.97 22% 71% 39% 90%
3.3 Rust #2 6.41 136,176 1347 16.66 74% 74% 45% 67%
3.4 Rust #9 6.48 134,908 1841 18.40 37% 75% 91% 81%
3.5 Rust #4 6.73 136,384 1749 18.85 96% 55% 36% 93%
3.5 Julia #7 6.82 358,544 1365 16.89 57% 67% 46% 78%
3.6 Rust #6 6.94 136,456 1671 19.11 37% 76% 71% 91%
3.6 C++ g++ 7.00 756,300 1446 14.81 17% 27% 76% 92%
3.8 C# .NET Core #6 7.27 183,664 1603 20.31 55% 73% 54% 97%
3.8 Java #6 7.41 419,660 1607 25.99 90% 82% 92% 87%
3.9 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.6 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%
5.0 Go #4 9.63 145,600 1543 33.14 73% 87% 98% 87%
5.3 Lisp SBCL #6 10.21 538,444 2479 37.25 89% 98% 88% 90%
5.4 Chapel #3 10.43 177,052 996 38.90 100% 90% 91% 92%
6.4 Lisp SBCL 12.28 382,932 2424 39.30 98% 73% 74% 75%
7.4 Swift #2 14.26 256,316 1367 54.61 97% 95% 95% 96%
7.7 OCaml #3 14.87 255,560 1833 40.68 48% 50% 86% 90%
8.2 Node js #3 15.73 395,496 1812 43.40 76% 61% 94% 45%
8.5 Lisp SBCL #4 16.43 154,012 2291 16.46 0% 100% 0% 0%
8.5 Lisp SBCL #5 16.45 153,976 2320 16.50 0% 100% 0% 0%
9.1 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%
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 PHP #4 24.68 215,640 1079 88.67 93% 81% 96% 89%
13 Rust 25.11 152,956 1078 68.19 74% 43% 81% 74%
19 Java #4 36.02 198,196 1882 36.76 0% 92% 1% 9%
19 Node js #2 37.43 1,884,916 935 118.89 71% 97% 76% 74%
20 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 41.11 1,896,412 1008 122.38 77% 66% 83% 73%
24 Python 3 #3 46.37 239,472 1967 176.69 94% 95% 98% 94%
27 Racket #4 52.74 419,632 885 53.08 0% 0% 100% 0%
29 Perl #3 56.87 1,146,848 513 190.20 77% 82% 91% 84%
32 Lisp SBCL #2 62.18 317,444 1284 62.58 0% 43% 0% 58%
32 Lisp SBCL #3 62.35 317,440 1290 63.54 1% 100% 0% 0%
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%
44 Erlang HiPE #3 84.67 830,416 937 238.48 68% 75% 61% 78%
45 Python 3 #8 87.67 500,848 655 260.61 58% 98% 83% 59%
46 Erlang HiPE 88.74 7,447,348 936 247.55 67% 61% 91% 60%
48 Ruby 93.15 146,572 644 5 min 97% 87% 89% 96%
59 Perl #2 113.76 659,832 359 115.91 0% 1% 100% 1%
62 Lua #2 119.24 596,500 613 119.78 0% 100% 0% 0%
72 Racket 138.35 1,345,132 547 139.96 1% 0% 0% 100%
93 Matz's Ruby 179.62 126,924 644 9 min 95% 69% 67% 98%
102 Julia 196.54 1,940,444 695 197.74 1% 1% 0% 99%
155 Ruby #2 298.14 197,524 420 5 min 100% 1% 0% 1%
182 Ruby #3 5 min 205,108 540 5 min 26% 23% 25% 26%
223 VW Smalltalk #5 7 min 385,208 1317 7 min 0% 67% 34% 0%
235 Matz's Ruby #2 7 min 168,008 420 7 min 100% 0% 0% 0%
295 Dart 9 min 457,648 610 9 min 55% 24% 21% 0%
297 VW Smalltalk 9 min 385,868 1110 9 min 0% 0% 0% 100%
318 Matz's Ruby #7 10 min 419,052 870 34 min 97% 100% 71% 66%
355 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
Rust #3 Make Error
Swift Make Error