Skip to content
Myr

Document reference commands and selective failures in the man page (#940)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by GitHub · parent 907de26 · Browse files · 1 file+22 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+22 added−3 removed

  • other:+22 added−3 removed

1 file+22 added−3 removed

modified:doc/hyperfine.1+22 added-3 removed
1 unmodified line
2.SH NAME3hyperfine \- command\-line benchmarking tool4.SH SYNOPSIS5.B hyperfine6.RB [ \-ihVN ]6.RB [ \-hVN ]7.RB [ \-\-ignore\-failure[=MODE] ]8.RB [ \-\-warmup9.IR NUM ]10.RB [ \-\-min\-runs11.IR NUM ]
2 unmodified lines
14.RB [ \-\-runs15.IR NUM ]16.RB [ \-\-setup17.IR CMD ]18.RB [ \-\-reference19.IR CMD ]20.RB [ \-\-reference\-name21.IR NAME ]22.RB [ \-\-prepare23.IR CMD ]24.RB [ \-\-conclude25.IR CMD ]
87 unmodified lines
113for compiling your software with the provided parameters, or to do any114other work that should happen once before a series of benchmark runs,115not every time as would happen with the \fB\-\-prepare\fR option.116.HP117\fB\-\-reference\fR \fICMD\fP118.IP119Benchmark \fICMD\fP as the reference for the relative comparison of results.120If this option is not specified, the fastest command is used as the reference.121.HP122\fB\-\-reference\-name\fR \fINAME\fP123.IP124Give a meaningful \fINAME\fP to the reference command.125Requires \fB\-\-reference\fR.126.HP127\fB\-p\fR, \fB\-\-prepare\fR \fICMD...\fP128.IP129Execute \fICMD\fP before each timing run. This is useful for clearing disk caches,130for example.
90 unmodified lines
221\fB\-N\fR222.IP223An alias for '\-\-shell=none'.224.HP210\fB\-i\fR, \fB\-\-ignore\-failure\fR225\fB\-i\fR, \fB\-\-ignore\-failure\fR[=\fIMODE\fP]226.IP212Ignore non\-zero exit codes of the benchmarked programs.227Ignore failures of the benchmarked programs. Without a value or with228\fBall\-non\-zero\fR, all non\-zero exit codes are ignored.229Alternatively, provide a comma\-separated list of exit codes to ignore,230for example \fB\-\-ignore\-failure=1,2\fR.231An explicit value must be attached to the option with an equals sign.232.HP233\fB\-\-style\fR \fITYPE\fP234.IP235Set output style \fITYPE\fP (default: auto). Set this to 'basic' to disable output
155 unmodified lines