| 56 | } |
| 57 | |
| 58 | static 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 | |
| 69 | static void ExportSchema(benchmark::State& state) { // NOLINT non-const reference |
| 70 | struct ArrowSchema c_export; |
no test coverage detected