| 519 | } |
| 520 | |
| 521 | static void FieldPathGetFromWideChunkedArray( |
| 522 | benchmark::State& state) { // NOLINT non-const reference |
| 523 | constexpr int kNumColumns = 10000; |
| 524 | // Percentage representing the size of each chunk relative to the total length (smaller |
| 525 | // proportion means more chunks) |
| 526 | const double chunk_proportion = state.range(0) / 100.0; |
| 527 | auto chunked_array = ToChunked(GenerateTestArray(kNumColumns), chunk_proportion); |
| 528 | BenchmarkFieldPathGet(state, *chunked_array, kNumColumns, chunked_array->num_chunks()); |
| 529 | } |
| 530 | |
| 531 | static void FieldPathGetFromWideTable( |
| 532 | benchmark::State& state) { // NOLINT non-const reference |
nothing calls this directly
no test coverage detected