The Computer Language
22.01 Benchmarks Game

regex-redux

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 manually vectorized SIMD programs. Choose which programs you want to compare.

× source secs mem gz busy cpu load
1.0 Rust #7 0.78 146,632 2458 2.01 56% 60% 90% 53%
1.0 C gcc #5 0.80 152,240 1397 2.06 97% 55% 50% 56%
1.2 C gcc #4 0.95 152,184 1230 3.31 76% 83% 88% 100%
1.3 Classic Fortran 0.98 176,220 2225 3.07 74% 100% 68% 72%
1.3 Haskell GHC #3 1.02 409,228 2213 2.24 40% 41% 42% 97%
1.4 C++ g++ #4 1.11 203,844 1315 3.43 76% 63% 100% 71%
1.5 C++ g++ #6 1.14 275,796 2850 2.26 33% 46% 87% 32%
1.7 Rust #6 1.32 153,240 986 1.80 83% 12% 12% 29%
1.7 Python 3 #2 1.34 111,492 1403 2.62 36% 41% 32% 87%
1.8 Rust #5 1.38 201,132 771 1.82 1% 47% 83% 1%
1.8 C# .NET #8 1.39 318,212 1869 2.63 50% 21% 88% 30%
1.8 Rust #4 1.42 204,448 765 1.90 19% 1% 82% 32%
1.8 Rust #3 1.42 204,684 719 1.89 82% 10% 30% 12%
1.9 Rust 1.45 151,036 804 1.93 13% 10% 84% 26%
1.9 Rust #2 1.48 152,956 701 1.88 9% 9% 100% 9%
2.2 C gcc #3 1.72 103,568 1266 3.37 30% 29% 99% 38%
2.2 Julia #5 1.74 404,688 759 3.13 99% 7% 68% 6%
2.3 Julia #4 1.80 411,480 766 3.22 67% 6% 6% 99%
2.4 PHP 1.83 189,236 816 3.65 36% 35% 88% 41%
2.6 Julia #3 2.00 502,896 622 3.72 28% 54% 5% 99%
3.2 OCaml #3 2.46 526,736 647 4.22 0% 0% 100% 71%
3.3 Lua 2.56 332,252 482 2.56 0% 0% 0% 100%
3.5 F# .NET #6 2.73 1,060,252 611 7.27 94% 59% 52% 60%
3.7 C++ g++ #2 2.86 209,272 700 3.66 0% 43% 1% 84%
3.8 C# .NET #5 2.96 1,060,560 673 7.51 93% 57% 54% 50%
4.1 C gcc #2 3.21 103,084 1115 3.30 0% 2% 100% 1%
4.5 C++ g++ #5 3.51 214,892 852 4.35 20% 88% 7% 8%
4.7 C++ g++ 3.61 207,732 656 3.81 100% 1% 0% 5%
4.7 Julia 3.68 380,900 408 3.98 2% 99% 4% 3%
4.8 Chapel #3 3.76 477,200 493 4.72 98% 9% 10% 8%
4.9 Go #5 3.80 324,536 810 6.06 30% 19% 91% 20%
5.2 F# .NET #7 4.04 1,165,020 599 5.89 65% 28% 20% 34%
5.7 Ada 2012 GNAT #5 4.41 154,260 3640 12.73 67% 77% 82% 63%
6.2 Chapel #2 4.80 500,624 489 5.81 99% 8% 7% 7%
6.5 Node js #3 5.06 1,161,276 668 6.14 91% 28% 1% 1%
6.9 Java  #3 5.34 862,848 929 17.08 74% 76% 97% 74%
6.9 Java #6 5.39 833,792 740 17.43 75% 89% 84% 76%
7.6 Node js #4 5.91 984,536 463 6.74 4% 6% 8% 96%
11 Java 8.49 902,976 868 16.61 35% 42% 47% 71%
12 Python 3 9.25 454,912 512 17.55 35% 46% 28% 81%
13 Perl #4 9.84 157,208 820 29.65 96% 64% 91% 51%
13 Perl #3 9.95 157,372 854 30.28 51% 94% 65% 95%
16 Ruby #3 12.33 650,824 724 23.33 29% 97% 28% 35%
16 Dart #3 12.44 522,328 1055 22.56 98% 26% 33% 25%
16 Dart #5 12.46 491,328 706 19.37 1% 97% 56% 1%
16 C++ g++ #3 12.60 217,384 853 18.60 95% 51% 1% 0%
16 Racket #2 12.80 1,780,004 729 23.39 2% 99% 46% 36%
19 OCaml #2 14.83 875,832 637 14.90 0% 100% 0% 0%
20 Go #4 15.60 380,424 829 38.03 59% 57% 75% 53%
20 Matz's Ruby #3 15.83 223,648 724 36.10 94% 44% 44% 46%
21 Lisp SBCL #4 15.94 860,896 1972 32.53 44% 47% 40% 72%
21 Perl #2 16.44 205,240 710 28.55 73% 0% 100% 0%
24 Dart #4 18.82 489,300 511 19.14 0% 1% 1% 99%
28 Racket 21.81 1,702,280 541 21.87 0% 0% 0% 100%
28 Perl 21.83 205,616 464 21.94 0% 0% 100% 0%
28 Dart #2 21.98 491,936 663 22.46 2% 1% 1% 98%
29 Swift #4 22.85 1,060,884 745 48.62 37% 37% 47% 92%
30 Ruby #2 23.19 684,752 437 23.40 14% 15% 50% 22%
33 Ruby #9 25.79 678,532 321 26.14 0% 1% 100% 0%
34 Swift 26.10 879,112 715 46.65 79% 100% 0% 0%
35 Go #3 26.86 387,648 829 64.56 46% 47% 85% 62%
35 Go 27.01 305,192 741 64.07 61% 70% 61% 46%
44 Matz's Ruby #2 34.46 223,516 437 34.58 0% 100% 0% 0%
54 Matz's Ruby #9 41.76 223,480 334 42.10 1% 0% 0% 100%
54 Erlang #6 41.98 3,489,648 1048 61.87 57% 23% 32% 35%
60 Swift #2 46.37 682,744 671 46.49 0% 100% 0% 0%
Ada 2012 GNAT #6 Bad Output
Free Pascal #2 Failed
Free Pascal Failed
Perl #5 Bad Output