Fix documentation typos and man-page formatting (#935)
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 1f5a2ff · Browse files · 4 files·+13 added−14 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+13 added−14 removed
- other:+13 added−14 removed
Provenance
- Commit
62cfbf0- Tree
32460f1- Author
David Peter <sharkdp@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent
1f5a2ff
4 files changed+13 added−14 removed
modified:doc/hyperfine.1+6 added-7 removed
103 unmodified lines104 .HP105 \fB\-s\fR, \fB\-\-setup\fR \fICMD...\fP106 .IP107 Execute \fICMD\fP once before each set of timing runs. This is useful108-for compiling your software or with the provided parameters, or to do any108+for compiling your software with the provided parameters, or to do any109 other work that should happen once before a series of benchmark runs,110 not every time as would happen with the \fB\-\-prepare\fR option.111 .HP112 \fB\-p\fR, \fB\-\-prepare\fR \fICMD...\fP15 unmodified lines128 \fB\-c\fR, \fB\-\-cleanup\fR \fICMD...\fP129 .IP130 Execute \fICMD\fP after the completion of all benchmarking runs for each individual131 command to be benchmarked. This is useful if the commands to be benchmarked132-produce artifacts that need to be cleaned up. It only runs once a series of133-benchmark runs, as opposed to \fB\-\-conclude\fR option which runs after132+produce artifacts that need to be cleaned up. It only runs once per series of133+benchmark runs, as opposed to the \fB\-\-conclude\fR option which runs after134 every run.135 .HP136 \fB\-P\fR, \fB\-\-parameter\-scan\fR \fIVAR\fP \fIMIN\fP \fIMAX\fP137 .IP9 unmodified lines147 .IP148 This performs benchmarks for 'make \-j 1', 'make \-j 2', ..., 'make \-j 8'.149 .IP150 To have the value increase following different patterns, use shell151-arithmetics.151+arithmetic.152 .IP153 .RS154 Example:155 .RS152 unmodified lines308 .IP "<FILE>"309 Read the input from the given file.310 .RE311 .HP312-\fB\-n\fR, \fB\-\-command\-name\fR \fiNAME\fP312+\fB\-n\fR, \fB\-\-command\-name\fR \fINAME\fP313 .IP314-Give a meaningful \fiNAME\fP to a command. This can be specified multiple times314+Give a meaningful \fINAME\fP to a command. This can be specified multiple times315 if several commands are benchmarked.316 .HP317 \fB\-h\fR, \fB\-\-help\fR318 .IP43 unmodified lines362 \fB\-\-cleanup\fR 'echo cleanup n={n}' \\363 'echo command n={n}'364 .fi365 .RE366-.RE366 .SH AUTHOR367 .LP368 David Peter <mail@david-peter.de>369 .LP2 unmodified linesmodified:scripts/README.md+2 added-2 removed
112345678910101112131412 unmodified linesThis folder contains scripts that can be used in combination with hyperfines `--export-json` option.This folder contains scripts that can be used in combination with hyperfine's `--export-json` option.
### Example:
```bashhyperfine 'sleep 0.020' 'sleep 0.021' 'sleep 0.022' --export-json sleep.json./plot_whisker.py sleep.json```
### Pre-requisites### Prerequisites
To make these scripts work, you will need `numpy`, `matplotlib` and `scipy`.
If you have a Python package manager that understands [PEP-723](https://peps.python.org/pep-0723/)12 unmodified linesmodified:CHANGELOG.md+4 added-4 removed
3 unmodified lines4 5 - Add `--reference-name` option to give a meaningful name to the reference command, see #808 (@niklasdewally)6 - The `--ignore-failure` option now supports a comma-separated list of exit codes to ignore (e.g., `--ignore-failure=1,2`), see #836 (@sharkdp)7 - Python scripts: Add `--time-unit` option to `advanced_statistics.py` (@sharkdp)8-- Python scripts: Add new `plot_benchmarks.py` script for plotting collections of benchmarks, see #806 (@marxin)8+- Python scripts: Add new `plot_benchmark_comparison.py` script for plotting collections of benchmarks, see #806 (@marxin)9 10 ## Bugfixes11 12 - Fix bug where naming individual commands with parameter scan was not working correctly, see #794 (@teofr)85 unmodified lines98 99 ## Other100 101 - Thanks to @berombau for working on dependency upgrades, see #584102-- Fixed installationm on Windows, see #595 and #596 (@AntoniosBarotsis)102+- Fixed installation on Windows, see #595 and #596 (@AntoniosBarotsis)103 104 105 # v1.15.0106 136 unmodified lines243 244 - The new `--parameter-list <VAR> <VALUES>` option can be used to run245 a parametrized benchmark on a user-specified list of values.246 This is similar to `--parameter-scan <VAR> <MIN> <MAX>`, but doesn't247- necessarily required numeric arguments.247+ necessarily require numeric arguments.248 249 ``` bash250 hyperfine --parameter-list compiler "gcc,clang" \251 "{compiler} -O2 main.cpp"162 unmodified lines414 415 ## Other416 417 - [Arch Linux package](https://aur.archlinux.org/packages/hyperfine) for Hyperfine (@jD91mZM2).418-- Ubuntu/Debian packages are now are available.418+- Ubuntu/Debian packages are now available.419 420 # v0.2.0421 422 Initial public releasemodified:README.md+1 added-1 removed
332 unmodified lines333 — the second.334 335 ## Citing hyperfine336 337-Thank you for considering to cite hyperfine in your research work. Please see the information337+Thank you for considering citing hyperfine in your research work. Please see the information338 in the sidebar on how to properly cite hyperfine.339 340 ## License341 3 unmodified lines