| 352 | BENCHMARK(BM_Hash64)->Range(1023, 1023); |
| 353 | |
| 354 | static void BM_Hash64Farm(int iters, int len) { |
| 355 | std::string input(len, 'x'); |
| 356 | uint64 h = 0; |
| 357 | for (int i = 0; i < iters; i++) { |
| 358 | h = ::util::Fingerprint64(input.data(), input.size()); |
| 359 | } |
| 360 | testing::BytesProcessed(static_cast<int64>(iters) * len); |
| 361 | VLOG(1) << h; |
| 362 | } |
| 363 | BENCHMARK(BM_Hash64Farm)->Range(8, 8); |
| 364 | BENCHMARK(BM_Hash64Farm)->Range(16, 16); |
| 365 | BENCHMARK(BM_Hash64Farm)->Range(32, 32); |
nothing calls this directly
no test coverage detected