-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
[Feature request] Option to disable the default output entirely #193
Comments
Great idea, thank you very much. In the meantime, you can use process substitution to pipe the output to another process. Not as beautiful as it could be, I agree: > hyperfine 'sleep 0.1' --export-json >(jq '.results[0].mean') >/dev/null
0.10603645827285715 |
Hi @sharkdp, I am currently using hyperfine and find it quite nice tool. If this issue is still relevant I could implement it. Is it? |
It is, yes. That would be great |
Great, could you assign it to me and I`ll check it on the weekend? |
closed via #224 by @knidarkness |
This works now: hyperfine --style=none --export-json /dev/stdout 'sleep 0.1' | jq '.results[].mean' |
Great, thanks! |
I think it would be nice to be able to disable the standard output (with the progress bar) entirely. This would make it possible to cleanly pipe the JSON output to another process (via
--export-json /dev/stdout
). It seems like making the--style
option acceptnone
would be a good way to implement this. I'm unfortunately not familiar with Rust (otherwise I would just submit a PR), but maybe this could be considered for the future.The text was updated successfully, but these errors were encountered: