| 390 | BENCHMARK(BM_Hash64BatchX4)->Range(1, 1024); |
| 391 | |
| 392 | static void BM_Hash64V3(int iters, int len) { |
| 393 | std::string input(len, 'x'); |
| 394 | uint64 h = 0; |
| 395 | for (int i = 0; i < iters; i++) { |
| 396 | h = Hash64V3(input.data(), len, 1); |
| 397 | } |
| 398 | testing::BytesProcessed(static_cast<int64>(iters) * len); |
| 399 | VLOG(1) << h; |
| 400 | } |
| 401 | BENCHMARK(BM_Hash64V3)->Range(1, 1024); |
| 402 | |
| 403 | #if defined(__AVX512F__) |
nothing calls this directly
no test coverage detected