MCPcopy Create free account
hub / github.com/apache/arrow / ChunkCSVNoNewlinesBlock

Function ChunkCSVNoNewlinesBlock

cpp/src/arrow/csv/parser_benchmark.cc:118–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118static void ChunkCSVNoNewlinesBlock(
119 benchmark::State& state) { // NOLINT non-const reference
120 auto csv = BuildCSVData(escaped_example);
121 auto options = ParseOptions::Defaults();
122 options.quoting = true;
123 options.escaping = false;
124 options.newlines_in_values = false;
125
126 BenchmarkCSVChunking(state, csv, options);
127 // Provides better regression stability with timings rather than bogus
128 // bandwidth.
129 state.SetBytesProcessed(0);
130}
131
132static void ChunkCSVFlightsExample(
133 benchmark::State& state) { // NOLINT non-const reference

Callers

nothing calls this directly

Calls 3

BuildCSVDataFunction · 0.85
BenchmarkCSVChunkingFunction · 0.85
DefaultsFunction · 0.50

Tested by

no test coverage detected