Skip to content
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

Using '-' as filename for --export-* should not print intermediate results #640

Closed
sharkdp opened this issue Apr 17, 2023 · 0 comments · Fixed by #643
Closed

Using '-' as filename for --export-* should not print intermediate results #640

sharkdp opened this issue Apr 17, 2023 · 0 comments · Fixed by #643
Labels

Comments

@sharkdp
Copy link
Owner

sharkdp commented Apr 17, 2023

When using - to export to standard out, we get intermediate outputs that clutter the output.

How to reproduce?

hyperfine --runs 2 --export-markdown - 'sleep 0.1' 'sleep 0.2'

image

Expected result: the exported content should only be shown once at the end. Ideally, after the Summary section.

FYI @humblepenguinn

@sharkdp sharkdp added the bug label Apr 17, 2023
@sharkdp sharkdp added this to the hyperfine 1.17 milestone Apr 17, 2023
sharkdp added a commit that referenced this issue Apr 20, 2023
sharkdp added a commit that referenced this issue Apr 20, 2023
sharkdp added a commit that referenced this issue Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant