MCPcopy Create free account
hub / github.com/apache/arrow / ParquetReadSome

Function ParquetReadSome

cpp/src/arrow/filesystem/s3fs_benchmark.cc:346–353  ·  view source on GitHub ↗

Helper function used in the macros below to template benchmarks.

Source from the content-addressed store, hash-verified

344
345/// Helper function used in the macros below to template benchmarks.
346static 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
355BENCHMARK_DEFINE_F(MinioFixture, ReadAll1Mib)(benchmark::State& st) {
356 NaiveRead(st, fs_.get(), bucket_ + "/bytes_1mib");

Callers

nothing calls this directly

Calls 2

ParquetReadFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected