| 1318 | } |
| 1319 | |
| 1320 | void SearchParse2CachedPCRE(benchmark::State& state, const char* regexp, |
| 1321 | const StringPiece& text) { |
| 1322 | PCRE& re = *GetCachedPCRE(regexp); |
| 1323 | for (auto _ : state) { |
| 1324 | StringPiece sp1, sp2; |
| 1325 | CHECK(PCRE::PartialMatch(text, re, &sp1, &sp2)); |
| 1326 | } |
| 1327 | } |
| 1328 | |
| 1329 | void SearchParse2CachedRE2(benchmark::State& state, const char* regexp, |
| 1330 | const StringPiece& text) { |
nothing calls this directly
no test coverage detected