]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #69227 - Marwes:buffer_stderr, r=varkor
authorbors <bors@rust-lang.org>
Sat, 29 Feb 2020 07:27:29 +0000 (07:27 +0000)
committerbors <bors@rust-lang.org>
Sat, 29 Feb 2020 07:27:29 +0000 (07:27 +0000)
commit04e7f96dd89b1f0ad615dff1c85d11d4c4c64cb4
tree1f228816ea96985eaa07f458222b143b35f1e227
parent55aee8d49628ae8218e91745c388d5dc36771248
parentee064befa06ad54193786c9169672f9349d0bfaf
Auto merge of #69227 - Marwes:buffer_stderr, r=varkor

perf: Buffer stderr when writing json errors/warnings

Since `stderr` is unbuffered, writing out json messages actually take up
about ~10%/0.1s of the runtime of the `inflate` benchmark as it generates a fair number of warnings.

cc #64413
src/librustc_errors/json.rs