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

Function TimestampConversionStrptime

cpp/src/arrow/csv/converter_benchmark.cc:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static void TimestampConversionStrptime(
143 benchmark::State& state) { // NOLINT non-const reference
144 auto parser = BuildStrptimeData(num_rows);
145 auto options = ConvertOptions::Defaults();
146 options.timestamp_parsers.push_back(TimestampParser::MakeStrptime("%m/%d/%Y"));
147 BenchmarkConversion(state, *parser, timestamp(TimeUnit::MILLI), options);
148}
149
150BENCHMARK(Int64Conversion);
151BENCHMARK(FloatConversion);

Callers

nothing calls this directly

Calls 5

BuildStrptimeDataFunction · 0.85
BenchmarkConversionFunction · 0.85
push_backMethod · 0.80
DefaultsFunction · 0.50
timestampFunction · 0.50

Tested by

no test coverage detected