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.61 409,756 445 2.60 1% 0% 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.7 Rust #2 6.95 209,356 669 6.92 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%
4.4 Java  #7 11.41 699,176 1085 11.39 1% 1% 0% 100%
5.5 C++ g++ #4 14.40 95,448 1759 14.39 1% 1% 0% 100%
6.2 Chapel 16.20 1,102,208 468 16.16 100% 1% 1% 0%
7.7 Ada 2005 GNAT #5 20.00 174,264 3492 19.98 0% 1% 1% 100%
8.6 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.2 Scala #4 24.06 509,328 723 24.04 1% 2% 2% 100%
9.4 Scala #3 24.45 704,368 633 24.43 1% 0% 0% 100%
9.4 Java #5 24.53 697,956 929 24.51 1% 1% 0% 100%
9.5 Scala #2 24.80 712,748 668 24.78 0% 1% 1% 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%
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%
10 Scala #5 27.11 483,656 1704 27.10 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%
13 Java #2 32.75 759,700 1534 32.73 2% 1% 1% 100%
13 Perl #4 33.87 143,224 440 33.86 0% 1% 1% 100%
13 Scala 34.02 853,952 611 34.00 1% 1% 0% 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%
14 Ruby #8 35.34 106,056 529 35.30 1% 0% 100% 100%
14 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 44.04 669,204 1948 43.96 0% 0% 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 F# Mono LLVM #4 86.77 977,528 899 86.51 1% 1% 1% 100%
34 C# Mono LLVM 87.55 470,492 624 87.51 0% 1% 1% 100%
34 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 Go #3 89.72 503,080 777 89.68 1% 2% 1% 100%
35 Go #8 90.72 640,348 785 90.68 0% 1% 1% 100%
35 C# Mono LLVM #7 90.79 457,052 898 90.72 0% 1% 1% 100%
35 Go #7 91.08 368,640 652 91.04 1% 1% 1% 100%
36 Dart #2 94.01 265,136 648 93.96 1% 0% 1% 100%
46 Go 120.53 511,344 733 120.47 0% 1% 1% 100%
244 Smalltalk VW 10 min 361,824 584 10 min 0% 1% 1% 100%
Clojure #3 Failed
Clojure #4 Failed
Lisp SBCL Failed
Lua #3 Failed
OCaml #4 Failed
OCaml #2 Failed
OCaml Failed
OCaml #3 Failed
Ruby JRuby #8 Failed