| 67 | static constexpr int32_t kNumRows = 10000; |
| 68 | |
| 69 | static std::string BuildCSVData(const Example& example) { |
| 70 | std::stringstream ss; |
| 71 | for (int32_t i = 0; i < kNumRows; i += example.num_rows) { |
| 72 | ss << example.csv_rows; |
| 73 | } |
| 74 | return ss.str(); |
| 75 | } |
| 76 | |
| 77 | static void BenchmarkCSVChunking(benchmark::State& state, // NOLINT non-const reference |
| 78 | const std::string& csv, ParseOptions options) { |
no test coverage detected