-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Some annoyances.. and a wrapper #418
Comments
Thank you very much for your report. Could you please remove (or somehow separate or hide) the parts that are duplicates of #375, #410, #247?
I don't understand?
What would you like to configure in these files? |
not your main point, but you can actually have values with commas. you just need to escape them:
|
I've commented on #375, #410 is my own report, and I don't understand #247
For example my wrapper adds a
For instance in In Flexibility :) |
This will be resolved by #336.
I think this can be implemented rather easily with shell scripting by power users. I don't want to implement this in hyperfine itself.
thanks I would like to close this. The remaining open points are addressed in other tickets. |
This is now supported in #447 |
Once you get a good hammer, you tend to find more nails around. After running a lot of hyperfine's, here are a few usability sore spots. A tool like this is easiest to use when you can run it in your shell, press
<up>
, change a few characters, and iterate.-r1
could mean "just run the commands". Something doesn't work, I need to hit up, add--show-output
and change to-r2
. And it still gives a lot of output. Or, I need to delete hyperfine and its options, and stick semicolons between the scripts.-r1
could just do the same thing.-S 'zsh --emulate ksh'
: there's an issue for that (--shell 'busybox sh', 'zsh --emulate posix', 'bash --posix' #410)---n=varname=5
-L pre single-val -L post single-val
, but not conveniently (no commas), and it makes it hard to edit the benchmark command back into a regular shell command. I've used---pre=
and---post=
~/config/hyperfine.rc
file, as well asHYPERFINE_OPTS
, would be niceFor now, here's my hyperfine wrapper. It handles
-S'shell cmd'
,-r1
, and three-dash extensions---n=cnt=30
,---pre=
,---post=
. Everything else is passed to hyperfine. The--
delimiter between options and scripts is mandatory. It can be used like this:The text was updated successfully, but these errors were encountered: