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

Function BufferedOutputStreamSmallWritesToNull

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

Source from the content-addressed store, hash-verified

231}
232
233static void BufferedOutputStreamSmallWritesToNull(
234 benchmark::State& state) { // NOLINT non-const reference
235 auto file = *io::FileOutputStream::Open(GetNullFile());
236
237 auto buffered_file =
238 *io::BufferedOutputStream::Create(kBufferSize, default_memory_pool(), file);
239 BenchmarkStreamingWrites(state, small_sizes, buffered_file.get());
240}
241
242// Benchmark writing a pipe
243//

Callers

nothing calls this directly

Calls 4

GetNullFileFunction · 0.85
default_memory_poolFunction · 0.85
BenchmarkStreamingWritesFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected