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

Function ParquetReadAll

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

Helper function used in the macros below to template benchmarks.

Source from the content-addressed store, hash-verified

332
333/// Helper function used in the macros below to template benchmarks.
334static 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.
346static void ParquetReadSome(benchmark::State& st, S3FileSystem* fs,

Callers

nothing calls this directly

Calls 4

ParquetReadFunction · 0.85
strMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected