| 111 | } |
| 112 | |
| 113 | static void ExportImportSchema(benchmark::State& state) { // NOLINT non-const reference |
| 114 | struct ArrowSchema c_export; |
| 115 | auto schema = ExampleSchema(); |
| 116 | |
| 117 | for (auto _ : state) { |
| 118 | ABORT_NOT_OK(::arrow::ExportSchema(*schema, &c_export)); |
| 119 | ImportSchema(&c_export).ValueOrDie(); |
| 120 | } |
| 121 | state.SetItemsProcessed(state.iterations()); |
| 122 | } |
| 123 | |
| 124 | static void ExportImportArray(benchmark::State& state) { // NOLINT non-const reference |
| 125 | struct ArrowArray c_export; |
nothing calls this directly
no test coverage detected