| 231 | } |
| 232 | |
| 233 | static 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 | // |
nothing calls this directly
no test coverage detected