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

Function BufferedOutputStreamLargeWritesToPipe

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

Source from the content-addressed store, hash-verified

273}
274
275static void BufferedOutputStreamLargeWritesToPipe(
276 benchmark::State& state) { // NOLINT non-const reference
277 std::shared_ptr<io::OutputStream> stream;
278 std::shared_ptr<BackgroundReader> reader;
279 SetupPipeWriter(&stream, &reader);
280
281 auto buffered_stream =
282 *io::BufferedOutputStream::Create(kBufferSize, default_memory_pool(), stream);
283
284 BenchmarkStreamingWrites(state, large_sizes, buffered_stream.get(), reader.get());
285}
286
287// We use real time as we don't want to count CPU time spent in the
288// BackgroundReader thread

Callers

nothing calls this directly

Calls 4

SetupPipeWriterFunction · 0.85
default_memory_poolFunction · 0.85
BenchmarkStreamingWritesFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected