The Computer Language
Benchmarks Game

k-nucleotide

program source code, command-line and measurements

× source secs KB gz cpu cpu load
1.0 C++ g++ #3 7.15 163,608 1252 24.10 80% 97% 80% 83%
1.7 Ada 2005 GNAT #2 11.98 278,036 4865 25.87 87% 48% 61% 22%
1.8 Java  #6 12.87 462,488 1602 44.44 98% 81% 85% 82%
1.9 Java  #3 13.29 464,304 1630 46.45 86% 87% 94% 83%
2.8 C# Mono #7 19.82 504,908 1822 56.76 64% 64% 65% 96%
3.0 OCaml #3 21.48 259,876 1789 57.12 91% 100% 39% 38%
3.3 F# Mono #4 23.49 993,192 1477 65.54 63% 58% 72% 88%
3.8 F# Mono #3 27.15 975,732 1111 68.71 48% 65% 70% 72%
3.9 C# Mono #4 27.93 520,040 1696 88.59 73% 88% 75% 82%
4.3 Clojure #7 30.42 1,012,240 3030 98.48 84% 88% 76% 77%
4.3 Java  #5 30.84 219,764 2211 70.64 28% 92% 18% 92%
4.5 C# Mono #3 32.37 456,552 1404 101.35 78% 77% 73% 86%
4.5 Scala 32.40 836,800 1625 120.94 97% 93% 93% 91%
4.6 Lisp SBCL #5 33.16 163,528 2301 33.12 100% 1% 1% 0%
4.6 Lisp SBCL #4 33.19 163,528 2272 33.15 1% 0% 100% 1%
4.8 OCaml #2 34.21 384,856 1205 81.67 94% 85% 39% 24%
5.5 Scala #2 39.06 964,812 1123 105.55 52% 71% 59% 89%
5.7 Hack #4 40.90 352,272 1061 134.38 89% 74% 87% 81%
5.8 C# Mono #5 41.66 378,900 2445 137.48 81% 82% 90% 80%
6.0 Go #2 42.59 266,232 1531 144.56 95% 68% 96% 82%
6.1 Clojure #6 43.49 1,010,396 1737 117.91 87% 72% 70% 44%
6.2 PHP #4 44.55 135,472 1060 152.16 81% 92% 76% 93%
6.6 Scala #6 46.90 504,360 1380 176.76 94% 95% 94% 95%
6.7 Java  #4 47.92 184,716 1873 48.36 1% 8% 92% 1%
8.1 Clojure #4 57.85 1,010,468 1944 179.49 81% 82% 80% 69%
8.9 Perl 63.38 1,131,644 648 230.49 92% 90% 95% 89%
9.4 OCaml 66.82 421,172 870 66.76 18% 1% 83% 1%
9.6 Perl #4 68.40 1,069,012 472 223.62 93% 76% 68% 94%
10 Go 71.17 265,892 980 246.70 84% 81% 87% 96%
10 Perl #3 72.76 1,146,924 507 254.58 97% 74% 84% 96%
11 Python 3 #3 76.50 162,004 1937 297.12 97% 97% 97% 99%
12 Fortran Intel 86.35 162,824 2238 86.30 0% 0% 100% 1%
12 Racket #4 88.85 405,268 881 88.84 1% 1% 0% 100%
13 C# Mono 91.89 520,148 1420 92.08 100% 1% 1% 0%
13 Ruby JRuby #4 92.67 1,537,900 449 101.75 46% 9% 41% 15%
15 Ruby #4 109.09 505,688 449 109.06 1% 0% 100% 0%
18 Ruby 131.92 134,100 637 7 min 87% 78% 92% 78%
19 Python 3 #8 133.46 451,204 647 6 min 98% 59% 89% 55%
19 Lisp SBCL #2 138.34 386,460 1277 138.26 1% 1% 100% 1%
19 Lisp SBCL #3 138.91 386,460 1284 137.83 1% 100% 0% 1%
21 Erlang HiPE #3 152.52 1,126,548 932 6 min 59% 79% 57% 69%
23 Erlang #3 164.12 1,036,744 932 7 min 88% 58% 60% 74%
25 Ruby JRuby 181.44 968,128 637 9 min 84% 83% 76% 67%
27 Ruby JRuby #3 190.54 965,132 540 10 min 91% 80% 79% 75%
27 Lua #2 195.17 860,768 613 193.80 1% 0% 1% 100%
28 C# Mono #2 200.91 415,648 1012 199.81 0% 1% 1% 100%
30 Perl #2 216.14 536,960 359 215.98 100% 0% 1% 1%
31 Erlang HiPE 221.13 3,569,412 930 7 min 71% 57% 54% 59%
34 Racket 244.82 1,309,328 542 244.52 40% 60% 1% 1%
36 Erlang 257.43 3,684,436 930 8 min 62% 68% 82% 65%
39 JavaScript V8 #2 279.77 517,020 451 279.57 1% 59% 42% 1%
40 JavaScript V8 283.31 425,684 423 283.15 1% 55% 19% 28%
44 Smalltalk VW #5 5 min 384,776 1153 5 min 75% 24% 0% 2%
47 Dart 5 min 435,088 595 5 min 18% 74% 5% 6%
53 Ruby #2 6 min 169,544 420 6 min 74% 23% 4% 0%
61 Ruby #3 7 min 174,188 540 7 min 34% 17% 17% 34%
68 F# Mono 8 min 653,356 701 22 min 76% 70% 67% 72%
Ruby JRuby #2 Failed
Swift Bad Output