| 1525 | BENCHMARK_RANGE(FullMatch_DotStarCapture_CachedRE2, 8, 2<<20); |
| 1526 | |
| 1527 | void PossibleMatchRangeCommon(benchmark::State& state, const char* regexp) { |
| 1528 | RE2 re(regexp); |
| 1529 | std::string min; |
| 1530 | std::string max; |
| 1531 | const int kMaxLen = 16; |
| 1532 | for (auto _ : state) { |
| 1533 | CHECK(re.PossibleMatchRange(&min, &max, kMaxLen)); |
| 1534 | } |
| 1535 | } |
| 1536 | |
| 1537 | void PossibleMatchRange_Trivial(benchmark::State& state) { |
| 1538 | PossibleMatchRangeCommon(state, ".*"); |
no test coverage detected