| 98 | } |
| 99 | |
| 100 | static void ChunkJSONPrettyPrinted( |
| 101 | benchmark::State& state) { // NOLINT non-const reference |
| 102 | const int32_t num_rows = 5000; |
| 103 | |
| 104 | auto options = ParseOptions::Defaults(); |
| 105 | options.newlines_in_values = true; |
| 106 | options.explicit_schema = schema(TestFields()); |
| 107 | |
| 108 | auto json = GenerateTestData(options.explicit_schema, num_rows, /*pretty=*/true); |
| 109 | BenchmarkJSONChunking(state, std::make_shared<Buffer>(json), options); |
| 110 | } |
| 111 | |
| 112 | static void ChunkJSONLineDelimited( |
| 113 | benchmark::State& state) { // NOLINT non-const reference |
nothing calls this directly
no test coverage detected