-
-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show output only on fails #375
Comments
Interesting request - thank you. Implementing this, however, would force us to always collect the output (just in case the process could fail). I'm not sure if we want to do that by default (related discussion: #377), as it could lead to a slowdown of the benchmarked process, compared to what we do right now (pipe to /dev/null). |
A small improvement would be to have As food for thought, |
@arcanis @sharkdp @mralusw : Can't this proposed feature be generalized to a shell alias that does this for you:
On Debian you'll need It's a good use-case, but you're generally better off with using standard shell features when possible. You'll get funny interleaving of the output with that naïve trick, which can be (I think) hacked around with either |
|
It seems we cannot capture stdout by default without performance hits, see #377. Assuming this can not be fixed somehow, I'd like to close this ticket. |
I generally don't care about the output, except when the process aborts. When that happens, I want to understand the reason of the exit code. Just adding
--show-output
would waste resources and make debug a tad harder.The text was updated successfully, but these errors were encountered: