Helper function used in the macros below to template benchmarks.
| 344 | |
| 345 | /// Helper function used in the macros below to template benchmarks. |
| 346 | static void ParquetReadSome(benchmark::State& st, S3FileSystem* fs, |
| 347 | const std::string& bucket, int64_t file_rows, |
| 348 | int64_t file_cols, std::vector<int> cols_to_read, |
| 349 | bool pre_buffer, std::string read_strategy) { |
| 350 | std::stringstream ss; |
| 351 | ss << bucket << "/pq_c" << file_cols << "_r" << file_rows << "k"; |
| 352 | ParquetRead(st, fs, ss.str(), cols_to_read, false, read_strategy); |
| 353 | } |
| 354 | |
| 355 | BENCHMARK_DEFINE_F(MinioFixture, ReadAll1Mib)(benchmark::State& st) { |
| 356 | NaiveRead(st, fs_.get(), bucket_ + "/bytes_1mib"); |
nothing calls this directly
no test coverage detected