The Computer Language
Benchmarks Game

regex-dna

program source code, command-line and measurements

× source secs KB gz cpu cpu load
1.0 Node.js #2 2.62 404,436 445 2.62 0% 1% 1% 100%
1.8 PHP #4 4.79 105,376 832 4.78 1% 0% 1% 100%
1.9 PHP #2 4.95 170,804 449 4.94 1% 2% 1% 100%
1.9 PHP #3 4.95 168,744 459 4.94 1% 1% 1% 100%
1.9 PHP 4.98 170,080 788 3.03 1% 0% 1% 100%
2.1 C gcc 5.53 297,880 2579 5.50 2% 1% 1% 100%
2.2 Rust #2 5.86 217,244 669 5.83 0% 1% 1% 100%
2.7 C++ g++ 7.07 183,784 648 7.06 6% 1% 0% 100%
2.7 C++ g++ #2 7.08 212,864 695 7.07 1% 1% 0% 100%
3.1 Go #9 8.14 503,992 1229 8.13 1% 1% 0% 100%
4.4 Java  #7 11.41 699,176 1085 11.39 1% 1% 0% 100%
5.1 Chapel 13.33 1,484,560 468 13.31 100% 1% 1% 1%
5.5 C++ g++ #4 14.40 95,448 1759 14.39 1% 1% 0% 100%
7.6 Ada 2005 GNAT #5 20.00 174,264 3492 19.98 0% 1% 1% 100%
8.5 Java #6 22.35 623,244 740 22.34 1% 1% 0% 100%
8.8 Ada 2005 GNAT #6 23.07 118,296 3740 23.03 0% 1% 1% 100%
8.9 C gcc #4 23.22 83,792 1525 23.21 0% 1% 1% 100%
9.0 Java #4 23.55 746,724 921 23.54 1% 1% 1% 100%
9.4 Java #5 24.53 697,956 929 24.51 1% 1% 0% 100%
9.6 Python 3 25.11 249,088 478 24.98 1% 0% 1% 100%
9.6 Python 3 #5 25.17 249,796 424 25.16 1% 0% 1% 100%
9.7 Scala #2 25.47 719,908 668 25.46 1% 0% 1% 100%
10 Perl #2 26.01 144,068 527 25.98 1% 1% 1% 100%
10 Ruby #6 26.32 154,492 442 26.30 1% 0% 100% 100%
11 Scala #6 28.21 483,196 1726 28.18 2% 2% 4% 100%
11 Scala #5 28.36 474,088 1704 28.33 1% 1% 1% 100%
11 C gcc #2 29.48 127,520 1099 29.46 0% 1% 1% 100%
12 C++ g++ #3 30.75 222,544 844 30.74 1% 1% 0% 100%
12 Lua #2 31.27 340,104 596 31.26 0% 1% 1% 100%
12 Java #2 32.75 759,700 1534 32.73 2% 1% 1% 100%
13 Scala 32.96 827,544 611 32.93 1% 1% 1% 100%
13 Perl #4 33.87 143,224 440 33.86 0% 1% 1% 100%
13 Ruby #2 34.29 383,028 417 34.26 1% 1% 100% 100%
13 Erlang HiPE #6 34.63 205,816 1058 34.61 0% 1% 1% 100%
13 Ruby #5 35.11 108,304 343 35.09 1% 1% 100% 100%
13 Ruby #8 35.34 106,056 529 35.30 1% 0% 100% 100%
13 Haskell GHC #2 35.36 313,524 1518 35.34 1% 1% 1% 100%
14 Ruby #3 36.02 433,040 501 35.97 1% 1% 100% 100%
14 Racket 36.74 618,312 527 36.71 1% 1% 1% 100%
14 Ruby #7 37.49 186,164 507 37.45 1% 1% 100% 100%
17 Lisp SBCL #3 43.48 680,816 1948 43.40 0% 1% 1% 100%
17 Lua 45.03 436,192 437 45.00 0% 1% 1% 100%
18 Ruby 47.11 385,344 308 47.08 0% 1% 100% 100%
19 Go #2 50.23 466,368 789 50.20 0% 1% 1% 100%
21 Ruby JRuby #5 54.76 765,856 343 54.72 0% 1% 1% 100%
21 Ruby JRuby #7 54.91 943,424 507 54.86 0% 1% 1% 100%
21 Ruby JRuby #6 55.61 870,220 442 55.56 0% 1% 1% 100%
23 Ruby JRuby #3 61.34 2,021,820 501 61.28 0% 1% 1% 100%
23 Ruby JRuby #2 61.37 2,024,312 417 61.32 0% 1% 1% 100%
29 Ruby JRuby 75.92 2,081,224 308 75.86 1% 1% 0% 100%
32 C# Mono LLVM #6 84.26 522,052 638 83.90 0% 1% 1% 100%
32 C# Mono LLVM #2 84.86 521,156 594 84.41 0% 1% 1% 100%
33 C# Mono LLVM #8 86.27 223,800 806 86.16 1% 1% 1% 100%
33 F# Mono LLVM #4 86.77 977,528 899 86.51 1% 1% 1% 100%
33 C# Mono LLVM 87.55 470,492 624 87.51 0% 1% 1% 100%
33 F# Mono LLVM #2 87.80 746,800 413 87.76 1% 1% 0% 100%
34 F# Mono LLVM 88.01 844,456 639 87.89 1% 1% 0% 100%
34 C# Mono LLVM #3 88.30 438,624 809 87.71 0% 0% 0% 99%
34 F# Mono LLVM #3 89.62 2,202,284 821 89.49 2% 1% 0% 100%
34 Dart #2 89.83 267,660 648 89.79 1% 0% 1% 100%
35 C# Mono LLVM #7 90.79 457,052 898 90.72 0% 1% 1% 100%
46 Go 120.53 511,344 733 120.47 0% 1% 1% 100%
243 Smalltalk VW 10 min 361,824 584 10 min 0% 1% 1% 100%
Clojure #3 Failed
Clojure #4 Failed
Lisp SBCL Timed Out
Lua #3 Failed
OCaml #4 Failed
OCaml #2 Failed
OCaml Failed
OCaml #3 Failed
Ruby JRuby #8 Failed
Scala #3 Failed
Scala #4 Failed