| 722 | } |
| 723 | |
| 724 | void CompilePCRE(benchmark::State& state, const std::string& regexp) { |
| 725 | for (auto _ : state) { |
| 726 | PCRE re(regexp, PCRE::UTF8); |
| 727 | CHECK_EQ(re.error(), ""); |
| 728 | } |
| 729 | } |
| 730 | |
| 731 | void CompileRE2(benchmark::State& state, const std::string& regexp) { |
| 732 | for (auto _ : state) { |