improve hints about squelching output
This commit is contained in:
parent
e296637737
commit
0e8c8edc90
1 changed files with 6 additions and 5 deletions
|
@ -45,13 +45,14 @@ instead of a command. N is the number of items to benchmark.
|
||||||
# OUTPUT
|
# OUTPUT
|
||||||
|
|
||||||
The output of the commands being benchmarked goes to standard output and
|
The output of the commands being benchmarked goes to standard output and
|
||||||
standard error as usual. It's often a good idea to sink it to /dev/null to
|
standard error as usual. It's often a good idea to use --quiet to avoid
|
||||||
avoid the display of the output skewing the benchmark results. Of course
|
unncessary output, unless the generation of that output is part of what
|
||||||
--quiet can also be used to avoid most git-annex output, as long as you
|
you want to benchmark.
|
||||||
don't want to benchmark the generation of that output.
|
|
||||||
|
|
||||||
The benchmark report is output to standard output by default, although
|
The benchmark report is output to standard output by default, although
|
||||||
criterion options can be used to redirect it to a file.
|
criterion options can be used to redirect it to a file. For example:
|
||||||
|
|
||||||
|
git annex benchmark -o bench -- find >/dev/null
|
||||||
|
|
||||||
# SEE ALSO
|
# SEE ALSO
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue