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

Function ExportRecordBatch

cpp/src/arrow/c/bridge_benchmark.cc:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static void ExportRecordBatch(benchmark::State& state) { // NOLINT non-const reference
92 struct ArrowArray c_export;
93 auto batch = ExampleRecordBatch();
94
95 for (auto _ : state) {
96 ABORT_NOT_OK(::arrow::ExportRecordBatch(*batch, &c_export));
97 ArrowArrayRelease(&c_export);
98 }
99 state.SetItemsProcessed(state.iterations());
100}
101
102static void ExportImportType(benchmark::State& state) { // NOLINT non-const reference
103 struct ArrowSchema c_export;

Callers 1

ExportImportRecordBatchFunction · 0.70

Calls 2

ExampleRecordBatchFunction · 0.85
ArrowArrayReleaseFunction · 0.85

Tested by

no test coverage detected