| 100 | } |
| 101 | |
| 102 | static void ExportImportType(benchmark::State& state) { // NOLINT non-const reference |
| 103 | struct ArrowSchema c_export; |
| 104 | auto type = utf8(); |
| 105 | |
| 106 | for (auto _ : state) { |
| 107 | ABORT_NOT_OK(::arrow::ExportType(*type, &c_export)); |
| 108 | ImportType(&c_export).ValueOrDie(); |
| 109 | } |
| 110 | state.SetItemsProcessed(state.iterations()); |
| 111 | } |
| 112 | |
| 113 | static void ExportImportSchema(benchmark::State& state) { // NOLINT non-const reference |
| 114 | struct ArrowSchema c_export; |
nothing calls this directly
no test coverage detected