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

Function FileOutputStreamSmallWritesToNull

cpp/src/arrow/io/file_benchmark.cc:226–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224// copy the data at all, so we only measure small writes.
225
226static void FileOutputStreamSmallWritesToNull(
227 benchmark::State& state) { // NOLINT non-const reference
228 auto stream = *io::FileOutputStream::Open(GetNullFile());
229
230 BenchmarkStreamingWrites(state, small_sizes, stream.get());
231}
232
233static void BufferedOutputStreamSmallWritesToNull(
234 benchmark::State& state) { // NOLINT non-const reference

Callers

nothing calls this directly

Calls 3

GetNullFileFunction · 0.85
BenchmarkStreamingWritesFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected