| 89 | } |
| 90 | |
| 91 | static void ExportRecordBatch(benchmark::State& state) { // NOLINT non-const reference |
| 92 | struct ArrowArray c_export; |
| 93 | auto batch = ExampleRecordBatch(); |
| 94 | |
| 95 | for (auto _ : state) { |
| 96 | ABORT_NOT_OK(::arrow::ExportRecordBatch(*batch, &c_export)); |
| 97 | ArrowArrayRelease(&c_export); |
| 98 | } |
| 99 | state.SetItemsProcessed(state.iterations()); |
| 100 | } |
| 101 | |
| 102 | static void ExportImportType(benchmark::State& state) { // NOLINT non-const reference |
| 103 | struct ArrowSchema c_export; |
no test coverage detected