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

Function ExportSchema

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

Source from the content-addressed store, hash-verified

67}
68
69static void ExportSchema(benchmark::State& state) { // NOLINT non-const reference
70 struct ArrowSchema c_export;
71 auto schema = ExampleSchema();
72
73 for (auto _ : state) {
74 ABORT_NOT_OK(::arrow::ExportSchema(*schema, &c_export));
75 ArrowSchemaRelease(&c_export);
76 }
77 state.SetItemsProcessed(state.iterations());
78}
79
80static void ExportArray(benchmark::State& state) { // NOLINT non-const reference
81 struct ArrowArray c_export;

Callers 1

ExportImportSchemaFunction · 0.70

Calls 2

ExampleSchemaFunction · 0.85
ArrowSchemaReleaseFunction · 0.85

Tested by

no test coverage detected