| 533 | } |
| 534 | |
| 535 | static void FieldPathGetFromWideChunkedArray( |
| 536 | benchmark::State& state) { // NOLINT non-const reference |
| 537 | constexpr int kNumColumns = 10000; |
| 538 | // Percentage representing the size of each chunk relative to the total length (smaller |
| 539 | // proportion means more chunks) |
| 540 | const double chunk_proportion = state.range(0) / 100.0; |
| 541 | auto chunked_array = ToChunked(GenerateTestArray(kNumColumns), chunk_proportion); |
| 542 | BenchmarkFieldPathGet(state, *chunked_array, kNumColumns, chunked_array->num_chunks()); |
| 543 | } |
| 544 | |
| 545 | static void FieldPathGetFromWideTable( |
| 546 | benchmark::State& state) { // NOLINT non-const reference |
nothing calls this directly
no test coverage detected