The Computer Language
Benchmarks Game

k-nucleotide

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Perl #2 203.61 466,864 359 200.59 1% 1% 1% 100%
1.2 Ruby #2 11 min 160,276 420 11 min 0% 2% 99% 100%
1.5 Ruby #3 12 min 164,980 540 12 min 1% 49% 52% 100%
1.5 Ruby JRuby #3 8 min 955,036 540 8 min 0% 1% 1% 100%
1.5 Racket 254.40 1,419,848 542 254.10 1% 1% 1% 100%
1.7 Dart 285.77 337,224 595 285.60 1% 1% 1% 100%
1.7 Lua #2 242.46 724,636 613 242.00 0% 1% 1% 100%
1.8 Ruby JRuby 8 min 962,244 637 8 min 0% 1% 1% 100%
1.8 Ruby 12 min 130,532 637 12 min 1% 100% 1% 100%
1.8 Python 3 #8 8 min 356,168 647 8 min 0% 1% 1% 100%
2.5 Node.js #2 194.10 ? 904 ? 1% 1% 1% 100%
2.6 Erlang HiPE #3 5 min 884,748 932 5 min 1% 1% 1% 100%
2.7 Node.js 205.07 ? 974 ? 1% 1% 1% 100%
2.7 Go 168.50 404,160 980 165.22 0% 1% 1% 100%
2.9 Haskell GHC 139.13 492,368 1052 136.78 0% 1% 1% 100%
3.0 PHP #4 163.07 149,888 1060 161.59 1% 1% 1% 100%
3.0 Chapel 194.81 267,320 1063 193.80 100% 2% 1% 0%
3.0 Rust 221.07 162,460 1072 220.87 1% 1% 1% 100%
3.1 F# Mono LLVM #3 71.13 1,145,064 1111 70.85 1% 1% 0% 100%
3.1  #2 123.45 997,052 1123 122.16 2% 2% 2% 100%
3.2 Smalltalk VW #5 283.39 348,764 1153 283.05 0% 1% 1% 100%
3.5 C++ g++ #3 24.04 137,908 1252 23.98 1% 1% 0% 100%
3.6 Lisp SBCL #2 162.67 382,464 1277 162.57 1% 1% 1% 100%
3.6 Lisp SBCL #3 161.94 382,340 1284 161.84 1% 1% 1% 100%
3.7 Rust #2 58.84 166,384 1324 58.78 0% 1% 1% 100%
3.9 C# Mono LLVM #3 108.42 514,472 1404 108.36 1% 1% 1% 100%
4.0 C# Mono LLVM 118.66 506,832 1420 118.60 0% 1% 1% 100%
4.1 F# Mono LLVM #4 64.05 1,143,128 1477 64.00 1% 1% 0% 100%
4.2 C gcc 23.93 126,832 1500 23.91 0% 1% 1% 100%
4.3 Go #2 133.35 273,604 1531 133.24 1% 1% 1% 100%
4.4 Go #6 47.48 147,788 1582 47.45 1% 1% 0% 100%
4.4 C# Mono LLVM #6 50.00 188,968 1585 49.96 0% 1% 1% 100%
4.5 Java  #6 47.14 516,280 1602 47.10 1% 1% 1% 100%
4.5 Java #3 48.21 516,076 1630 48.18 1% 1% 0% 100%
4.7 C# Mono LLVM #4 114.52 506,068 1696 114.48 0% 1% 1% 100%
4.8  #6 166.53 996,300 1737 166.41 1% 17% 83% 100%
5.0 Java 36.57 512,948 1802 36.54 1% 0% 0% 100%
5.1 C# Mono LLVM #7 86.76 505,136 1822 86.73 0% 1% 1% 100%
5.2 Java #4 57.54 197,732 1873 57.48 1% 1% 0% 100%
5.4 Python 3 #3 5 min 219,028 1937 5 min 0% 1% 1% 100%
5.4  #4 172.74 1,001,296 1944 172.59 1% 1% 100% 100%
6.2 Java #5 67.50 198,584 2211 67.44 1% 1% 1% 100%
6.2 Fortran Intel 109.49 168,420 2238 109.43 0% 0% 1% 100%
6.3 Lisp SBCL #4 65.77 199,140 2272 65.69 0% 1% 1% 100%
6.4 Lisp SBCL #5 65.96 199,120 2301 65.88 0% 1% 1% 100%
6.8 C# Mono LLVM #5 127.47 331,144 2445 127.37 0% 1% 1% 100%
8.4  #7 83.65 1,001,268 3030 83.59 1% 1% 100% 100%
14 Ada 2005 GNAT #2 21.13 270,628 4865 21.09 0% 1% 1% 100%
C# Mono LLVM #2 Failed
Erlang HiPE Failed
F# Mono LLVM Failed
OCaml #3 Failed
OCaml Failed
OCaml #2 Failed
Perl #4 Failed
Perl Failed
Perl #3 Failed
Racket #4 Bad Output
Ruby #6 Failed
Ruby #4 Failed
Ruby #5 Failed
Ruby JRuby #4 Failed
Ruby JRuby #5 Failed
Ruby JRuby #2 Failed
Ruby JRuby #6 Failed
TypeScript Failed