Helper function used in the macros below to template benchmarks.
| 332 | |
| 333 | /// Helper function used in the macros below to template benchmarks. |
| 334 | static void ParquetReadAll(benchmark::State& st, S3FileSystem* fs, |
| 335 | const std::string& bucket, int64_t file_rows, |
| 336 | int64_t file_cols, bool pre_buffer, |
| 337 | std::string read_strategy) { |
| 338 | std::vector<int> column_indices(file_cols); |
| 339 | std::iota(column_indices.begin(), column_indices.end(), 0); |
| 340 | std::stringstream ss; |
| 341 | ss << bucket << "/pq_c" << file_cols << "_r" << file_rows << "k"; |
| 342 | ParquetRead(st, fs, ss.str(), column_indices, false, read_strategy); |
| 343 | } |
| 344 | |
| 345 | /// Helper function used in the macros below to template benchmarks. |
| 346 | static void ParquetReadSome(benchmark::State& st, S3FileSystem* fs, |
nothing calls this directly
no test coverage detected