| 262 | } |
| 263 | |
| 264 | static void BufferedOutputStreamSmallWritesToPipe( |
| 265 | benchmark::State& state) { // NOLINT non-const reference |
| 266 | std::shared_ptr<io::OutputStream> stream; |
| 267 | std::shared_ptr<BackgroundReader> reader; |
| 268 | SetupPipeWriter(&stream, &reader); |
| 269 | |
| 270 | auto buffered_stream = |
| 271 | *io::BufferedOutputStream::Create(kBufferSize, default_memory_pool(), stream); |
| 272 | BenchmarkStreamingWrites(state, small_sizes, buffered_stream.get(), reader.get()); |
| 273 | } |
| 274 | |
| 275 | static void BufferedOutputStreamLargeWritesToPipe( |
| 276 | benchmark::State& state) { // NOLINT non-const reference |
nothing calls this directly
no test coverage detected