cpp/src/arrow/io/file_benchmark.cc
// Benchmark writing to /dev/null
//
// This situation is irrealistic as the kernel likely doesn't
// copy the data at all, so we only measure small writes.
Benchmark writing to /dev/null
This situation is irrealistic as the kernel likely doesn't
copy the data at all, so we only measure small writes.
Benchmark writing to / dev / null This situation is irrealistic as the kernel likely doesn ' t copy the data at all so we only measure small writes .
static void FileOutputStreamSmallWritesToNull(
    benchmark::State& state) {  
  auto stream = *io::FileOutputStream::Open(GetNullFile());
  BenchmarkStreamingWrites(state, small_sizes, stream.get());
}
static void FileOutputStreamSmallWritesToNull ( benchmark :: State & state ) { auto stream = * io :: FileOutputStream :: Open ( GetNullFile ( ) ) ; BenchmarkStreamingWrites ( state , small_sizes , stream . get ( ) ) ; }
Benchmark writing to /dev/null
This situation is irrealistic as the kernel likely doesn't
copy the data at all, so we only measure small writes.
Benchmark writing to / dev / null This situation is irrealistic as the kernel likely doesn ' t copy the data at all so we only measure small writes .
// NOLINT non-const reference