| 134 | } |
| 135 | |
| 136 | static void ChunkJSONPrettyPrinted( |
| 137 | benchmark::State& state) { // NOLINT non-const reference |
| 138 | const int32_t num_rows = 5000; |
| 139 | |
| 140 | auto options = ParseOptions::Defaults(); |
| 141 | options.newlines_in_values = true; |
| 142 | options.explicit_schema = schema(TestFields()); |
| 143 | |
| 144 | auto json = GenerateTestData(options.explicit_schema, num_rows, /*pretty=*/true); |
| 145 | BenchmarkJSONChunking(state, std::make_shared<Buffer>(json), options); |
| 146 | } |
| 147 | |
| 148 | static void ChunkJSONPrettyPrintedMultipleBlocks( |
| 149 | benchmark::State& state) { // NOLINT non-const reference |
nothing calls this directly
no test coverage detected