...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Table 14. Testing simple Perl matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)
Expression |
boost 1.65 |
PCRE-10.10 |
RE2 |
std::regex |
boost::xpressive::cregex |
---|---|---|---|---|---|
|
1.90 |
1.18 |
1.00 |
27.81 |
1.32 |
|
1.45 |
1.73 |
2.14 |
24.75 |
1.00 |
|
2.53 |
2.13 |
1.00 |
34.16 |
1.86 |
|
2.75 |
2.34 |
1.00 |
40.78 |
2.01 |
|
2.54 |
2.16 |
1.00 |
44.27 |
2.04 |
|
1.53 |
1.14 |
1.11 |
21.63 |
1.00 |
|
1.50 |
1.15 |
1.13 |
21.92 |
1.00 |
|
1.40 |
1.15 |
1.03 |
35.65 |
1.00 |
|
1.47 |
1.00 |
1.27 |
16.75 |
1.03 |
|
1.39 |
1.00 |
1.13 |
16.90 |
1.07 |
|
1.44 |
1.00 |
1.10 |
15.61 |
1.06 |
|
1.36 |
1.00 |
1.04 |
15.86 |
1.05 |
|
1.40 |
1.00 |
1.10 |
15.86 |
1.07 |
|
2.01 |
1.00 |
1.17 |
8.24 |
1.19 |