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

Function ReadFileMetadata

cpp/src/parquet/metadata_benchmark.cc:143–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void ReadFileMetadata(benchmark::State& state) {
144 MetadataBenchmark benchmark(&state);
145 auto contents = benchmark.WriteFile(&state);
146
147 for (auto _ : state) {
148 benchmark.ReadFile(contents);
149 }
150 state.SetItemsProcessed(state.iterations());
151}
152
153BENCHMARK(WriteFileMetadataAndData)->Apply(WriteMetadataSetArgs);
154BENCHMARK(ReadFileMetadata)->Apply(ReadMetadataSetArgs);

Callers

nothing calls this directly

Calls 2

ReadFileMethod · 0.80
WriteFileMethod · 0.45

Tested by

no test coverage detected