| 1175 | } |
| 1176 | |
| 1177 | void Parse3CachedPCRE(benchmark::State& state, const char* regexp, |
| 1178 | const StringPiece& text) { |
| 1179 | PCRE& re = *GetCachedPCRE(regexp); |
| 1180 | StringPiece sp1, sp2, sp3; |
| 1181 | for (auto _ : state) { |
| 1182 | CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3)); |
| 1183 | } |
| 1184 | } |
| 1185 | |
| 1186 | void Parse3CachedRE2(benchmark::State& state, const char* regexp, |
| 1187 | const StringPiece& text) { |
nothing calls this directly
no test coverage detected