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

Function ExportType

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

Source from the content-addressed store, hash-verified

56}
57
58static void ExportType(benchmark::State& state) { // NOLINT non-const reference
59 struct ArrowSchema c_export;
60 auto type = utf8();
61
62 for (auto _ : state) {
63 ABORT_NOT_OK(::arrow::ExportType(*type, &c_export));
64 ArrowSchemaRelease(&c_export);
65 }
66 state.SetItemsProcessed(state.iterations());
67}
68
69static void ExportSchema(benchmark::State& state) { // NOLINT non-const reference
70 struct ArrowSchema c_export;

Callers 1

ExportImportTypeFunction · 0.70

Calls 1

ArrowSchemaReleaseFunction · 0.85

Tested by

no test coverage detected