diff options
Diffstat (limited to 'doc/cpp')
-rw-r--r-- | doc/cpp/perf_notes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cpp/perf_notes.md b/doc/cpp/perf_notes.md index 805ead3638..c87557558d 100644 --- a/doc/cpp/perf_notes.md +++ b/doc/cpp/perf_notes.md @@ -10,9 +10,9 @@ If message k+1 in a stream does not rely on responses from message k, it's possible to enable write batching by passing a WriteOptions argument to Write with the buffer_hint set: -```c++ +~~~{.cpp} stream_writer->Write(message, WriteOptions().set_buffer_hint()); -``` +~~~ The write will be buffered until one of the following is true: - the per-stream buffer is filled (controllable with the channel argument |