]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #99627 - saethlin:lock-once, r=eddyb
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 23 Jul 2022 21:34:31 +0000 (23:34 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Jul 2022 21:34:31 +0000 (23:34 +0200)
commit74c3da39f0b32eb6744caff1353ba35be2a25768
tree594bdfb842eb3450bfc2632c8fe0708e75a688d5
parent90c6cde43a9b45017375231bfd8f0eb38f9b4a04
parent90dc0b02ae38185eee3e6490f7ff47b50297f22b
Rollup merge of #99627 - saethlin:lock-once, r=eddyb

Lock stdout once when listing tests

This is a marginal optimization for normal operation, but for `cargo miri nextest list` (which is invoked by `cargo miri nextest run`) this knocks the startup time on `regex` down from 87 seconds to 17 seconds. Still slow, but a nice 5x improvement.