Skip to content
Myr

README.md

This file

Path

README.md

451 lines · 15.3 KiB · Markdown

Last changed by

Update demo section in README.mdDavid Peterbefore adoption4ae793c

History of this file

Take it

The walk stopped after 200 commits: lines older than d643571 point at it.

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 1–7why, one step back
1# hyperfine
2[![CICD](https://github.com/sharkdp/hyperfine/actions/workflows/CICD.yml/badge.svg)](https://github.com/sharkdp/hyperfine/actions/workflows/CICD.yml)3[![Version info](https://img.shields.io/crates/v/hyperfine.svg)](https://crates.io/crates/hyperfine)4[中文](https://github.com/chinanf-boy/hyperfine-zh)56A command-line benchmarking tool.7

Update demo section in README.mdDavid Peterbefore adoption4ae793c

lines 8–9why, one step back
8**Demo**: Benchmarking [`mypy`](https://mypy-lang.org/) and
9[`ty`](https://ty.dev/):

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 10why, one step back
10

Update demo section in README.mdDavid Peterbefore adoption4ae793c

lines 11–12why, one step back
11<img width="839" height="205" alt="hyperfine demo" src="https://github.com/user-attachments/assets/13c20b1d-39c1-4da1-8fcb-0c775dd032f5" />
12

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 13–19why, one step back
13
14## Features1516* Statistical analysis across multiple runs.17* Support for arbitrary shell commands.18* Constant feedback about the benchmark progress and current estimates.19* Warmup runs can be executed before the actual benchmark.

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 20why, one step back
20* Cache-clearing commands can be set up before each benchmark run.

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 21–29why, one step back
21* Statistical outlier detection to detect interference from other programs and caching effects.
22* Export results to various formats: CSV, JSON, Markdown, AsciiDoc.23* Parameterized benchmarks (e.g. vary the number of threads).24* Cross-platform2526## Usage2728### Basic benchmarks29

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

lines 30–32why, one step back
30To run a benchmark, you can simply call `hyperfine <command>...`. Each argument is an executable
31and its arguments. Commands run directly by default; use `-S` for shell syntax such as32pipes, redirections, and wildcards. For example:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 33–37why, one step back
33```sh
34hyperfine 'sleep 0.3'35```3637Hyperfine will automatically determine the number of runs to perform for each command. By default,

Describe the default benchmark duration as an estimate (#941)David Peterbefore adoption0bb209e

lines 38–40why, one step back
38it will perform *at least* 10 benchmarking runs and estimate a run count targeting roughly
393 seconds, including shell overhead and preparation and conclusion commands. To set an exact40number of runs, you can use the `-r`/`--runs` option:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 41–44why, one step back
41```sh
42hyperfine --runs 5 'sleep 0.3'43```44

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 45why, one step back
45If you want to compare different programs, you can pass multiple commands:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 46–49why, one step back
46```sh
47hyperfine 'hexdump file' 'xxd file'48```49

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 50–52why, one step back
50Commands run and appear in input order. The first command is the reference for all comparisons;
51each subsequent result shows its change from that reference.52

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 53–60why, one step back
53### Warmup runs and preparation commands
5455For programs that perform a lot of disk I/O, the benchmarking results can be heavily influenced56by disk caches and whether they are cold or warm.5758If you want to run the benchmark on a warm cache, you can use the `-w`/`--warmup` option to59perform a certain number of program executions before the actual benchmark:60```sh

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

line 61why, one step back
61hyperfine -S --warmup 3 'grep -R TODO *'

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 62–64why, one step back
62```
6364Conversely, if you want to run the benchmark for a cold cache, you can use the `-p`/`--prepare`

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 65why, one step back
65option to run a special command before *each* benchmark run. For example, to clear Linux filesystem caches,

Describe the Linux cache-clearing example accurately (#945)David Peterbefore adoption0c5701b

line 66why, one step back
66you can run

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 67–72why, one step back
67```sh
68sync; echo 3 | sudo tee /proc/sys/vm/drop_caches69```70To use this specific command with hyperfine, call `sudo -v` to temporarily gain sudo permissions71and then call:72```sh

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

line 73why, one step back
73hyperfine -S --prepare 'sync; echo 3 | sudo tee /proc/sys/vm/drop_caches' 'grep -R TODO *'

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 74–92why, one step back
74```
7576### Parameterized benchmarks7778If you want to run a series of benchmarks where a single parameter is varied (say, the number of79threads), you can use the `-P`/`--parameter-scan` option and call:80```sh81hyperfine --prepare 'make clean' --parameter-scan num_threads 1 12 'make -j {num_threads}'82```83This also works with decimal numbers. The `-D`/`--parameter-step-size` option can be used84to control the step size:85```sh86hyperfine --parameter-scan delay 0.3 0.7 -D 0.2 'sleep {delay}'87```88This runs `sleep 0.3`, `sleep 0.5` and `sleep 0.7`.8990For non-numeric parameters, you can also supply a list of values with the `-L`/`--parameter-list`91option:92```

Use C++ compiler drivers in parameter-list examples (#936)David Peterbefore adoption1c92587

line 93why, one step back
93hyperfine -L compiler g++,clang++ '{compiler} -O2 main.cpp'

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 94–95why, one step back
94```
95

Merge pull request #899 from xfocus3/docs/compare-git-branches-606David Peterbefore adoption88a9150

line 96why, one step back
96A common use case is comparing the same command across multiple Git branches. Use `--setup`

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 97why, one step back
97to switch branches once before each set of benchmark runs, so the branch switch is not part of

Merge pull request #899 from xfocus3/docs/compare-git-branches-606David Peterbefore adoption88a9150

lines 98–105why, one step back
98the measured command:
99```sh100hyperfine \101 --parameter-list branch main,performance-improvements \102 --setup 'git switch {branch}' \103 'python main.py'104```105

Merge pull request #900 from ded-furby/docs/hyperfine-iteration-readmeDavid Peterbefore adoptiona2d7094

lines 106–108why, one step back
106If you need a unique value for each individual run of a benchmark command, hyperfine also exposes
107the zero-based `$HYPERFINE_ITERATION` environment variable inside the benchmarked command itself:108```sh

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

line 109why, one step back
109hyperfine -S 'my-command > output-${HYPERFINE_ITERATION}.log'

Merge pull request #900 from ded-furby/docs/hyperfine-iteration-readmeDavid Peterbefore adoptiona2d7094

lines 110–111why, one step back
110```
111

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 112–113why, one step back
112### Intermediate shell
113

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

lines 114–121why, one step back
114By default, commands are executed directly, without an intermediate shell (`--shell=none`).
115Arguments are split using shell-like quoting, so quoted arguments containing spaces are supported.116Shell syntax such as pipes, redirections, environment-variable expansion, `*`, and `~` is not interpreted.117This avoids shell startup overhead and the noise from correcting for it, especially for fast commands118(< 5 ms).119120To enable shell syntax, use `-S` (an alias for `--shell=default`). This selects `sh`121on Unix (resolved through `PATH`) or `cmd.exe` on Windows:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 122why, one step back
122```sh

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

lines 123–127why, one step back
123hyperfine -S 'sleep 0.1 && echo done'
124```125126You can also select a specific shell with `--shell <SHELL>`:127```sh

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 128–130why, one step back
128hyperfine --shell zsh 'for i in {1..10000}; do echo test; done'
129```130

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

lines 131–132why, one step back
131The shell setting applies to all commands, including `--setup`, `--prepare`, `--conclude`, and `--cleanup`.
132If any of these commands need shell syntax, enable a shell explicitly.

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 133why, one step back
133

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

lines 134–135why, one step back
134When a shell is enabled, hyperfine *corrects for the shell spawning time*. It runs the shell with an
135empty command multiple times to measure its startup time, then subtracts this time from each

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 136why, one step back
136time measurement.

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 137–138why, one step back
137
138

Remove shell alias example from READMEDavid Peterbefore adoption148632c

line 139why, one step back
139### Shell functions

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 140–148why, one step back
140
141If you are using bash, you can export shell functions to directly benchmark them with hyperfine:142143```bash144my_function() { sleep 1; }145export -f my_function146hyperfine --shell=bash my_function147```148

Remove shell alias example from READMEDavid Peterbefore adoption148632c

line 149why, one step back
149Otherwise, inline the function into the benchmarked command:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 150–151why, one step back
150
151```sh

Make --shell=none the default (#982)David Peterbefore adoptionab86cb9

line 152why, one step back
152hyperfine -S 'my_function() { sleep 1; }; my_function'

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 153–154why, one step back
153```
154

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 155why, one step back
155### Choosing metrics and units

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 156why, one step back
156

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 157–160why, one step back
157By default, hyperfine displays wall-clock time and memory usage
158(`time_wall_clock,memory_peak_resident`). Use `--metrics` with a159comma-separated list to select a different set of metrics. Each160metric can have an optional unit after it:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 161why, one step back
161

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 162–166why, one step back
162```sh
163hyperfine \164 --metrics memory_peak_resident:MiB,time_wall_clock:ms,instructions \165 './baseline' './candidate'166```

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 167why, one step back
167

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 168why, one step back
168The following metrics are available:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 169why, one step back
169

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 170–171why, one step back
170- **`time_wall_clock`**: Time from start to finish, including time spent waiting, in seconds.
171

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 172–173why, one step back
172- **`time_user`**: CPU time spent executing application and library code in user mode,
173 summed across threads, in seconds.

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 174–177why, one step back
174
175 - Linux/macOS: Includes child-process time when parents wait for their children to finish.176 - Windows: Includes the command and its child processes.177

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 178why, one step back
178- **`time_system`**: CPU time spent executing kernel code on the program's behalf, for example

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 179–183why, one step back
179 to read files, summed across threads, in seconds.
180181 - Linux/macOS: Includes child-process time when parents wait for their children to finish.182 - Windows: Includes the command and its child processes.183

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 184–188why, one step back
184- **`time_cpu`**: Total CPU time, calculated as `time_user + time_system` for each run, in seconds.
185 It excludes time spent sleeping or waiting without executing. CPU time is summed across186 threads, so it can exceed wall-clock time: four threads running on four cores for one second187 can consume roughly four CPU-seconds.188

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 189–192why, one step back
189- **`memory_peak_resident`**: Peak memory held in physical RAM, in bytes.
190191 - Linux/macOS: Peak resident set size (RSS). This is the largest per-process peak among the192 command and child processes (whose usage is collected when their parents wait for them),

Document Linux peak RSS measurement limitationDavid Peterbefore adoption3b64ea1

lines 193–195why, one step back
193 *not the simultaneous total memory of the full process tree*. On Linux, measuring commands
194 with a very small peak RSS (below the peak inherited from hyperfine at startup, which can195 be a few MiB) will currently result in that inherited value being reported instead.

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 196–197why, one step back
196 - Windows: Currently not supported.
197

Support hardware counters (instructions, cache misses, ...) (#983)David Peterbefore adoptionbc3a3f0

lines 198–223why, one step back
198- **`cpu_cycles`**: CPU cycles consumed.
199200 - Linux: Includes threads and child processes, but excludes kernel and hypervisor execution.201 - macOS: Includes the process's threads and kernel execution, but excludes child processes.202 - Windows: Currently not supported.203204- **`instructions`**: Completed CPU instructions.205206 - Linux/macOS: Same scope as `cpu_cycles`.207 - Windows: Currently not supported.208209- **`cache_references`**: Cache accesses counted by the CPU's generic cache event.210211 - Linux: Same scope as `cpu_cycles`. Cache-event definitions depend on the CPU.212 - macOS/Windows: Currently not supported.213214- **`cache_misses`**: Cache misses.215216 - Linux: Same scope as `cpu_cycles`. Cache-event definitions depend on the CPU.217 - macOS/Windows: Currently not supported.218219- **`branch_misses`**: Mispredicted branches.220221 - Linux: Same scope as `cpu_cycles`.222 - macOS/Windows: Currently not supported.223

Prepare release v2.0.0-alpha.1David Peterbefore adoptionccc8449

line 224why, one step back
224Note that hardware counters are not available when a shell is enabled (`--shell=..`).

Support hardware counters (instructions, cache misses, ...) (#983)David Peterbefore adoptionbc3a3f0

line 225why, one step back
225

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 226–240why, one step back
226Time measurements support units `ns`, `us`, `ms`, `s`, `min`, and `h`. Memory measurements
227support `B`, `kB`, `MB`, `GB`, `TB`, `KiB`, `MiB`, `GiB`, and `TiB`. Hardware counters228support `count` (1), `k` (thousand), `M` (million), and `B` (billion).229230You can also use a preset to select a group of metrics:231232| Preset | Metrics |233|:---|:---|234| `--metrics=default` | `time_wall_clock,memory_peak_resident` |235| `--metrics=time` | `time_wall_clock,time_cpu,time_user,time_system` |236| `--metrics=all` | All available metrics |237238### Exporting results239240Hyperfine can export results to CSV, JSON, Markdown, AsciiDoc, and org-mode. Non-JSON formats

Prepare release v2.0.0-alpha.1David Peterbefore adoptionccc8449

line 241why, one step back
241contain only the primary metric, which is the first metric selected by `--metrics`.

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 242–257why, one step back
242
243#### Markdown244245You can use the `--export-markdown <file>` option to create tables like the following:246247| Command | Mean Wall Time [s] | Change | Factor |248|:---|---:|---:|:---|249| `find . -iregex '.*[0-9]\.jpg$'` | 2.275 ± 0.046 | | |250| `find . -iname '*[0-9].jpg'` | 1.427 ± 0.026 | -37.3% | (1.6x faster) |251| `fd -HI '.*[0-9]\.jpg$'` | 0.232 ± 0.002 | -89.8% | (9.8x faster) |252253#### JSON254255The JSON export includes all available metrics listed in [Choosing metrics and units](#choosing-metrics-and-units)256for each measured run (excluding warmup runs).257

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 258–269why, one step back
258The JSON output is useful if you want to analyze the benchmark results in more detail. The
259[`scripts/`](https://github.com/sharkdp/hyperfine/tree/master/scripts) folder includes a lot260of helpful Python programs to further analyze benchmark results and create helpful261visualizations, like a histogram of runtimes or a whisker plot to compare262multiple benchmarks:263264| ![](doc/histogram.png) | ![](doc/whisker.png) |265|---:|---:|266267268### Detailed benchmark flowchart269

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 270why, one step back
270The following chart explains the execution order of various benchmark runs when using options

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 271–276why, one step back
271like `--warmup`, `--prepare <cmd>`, `--setup <cmd>` or `--cleanup <cmd>`:
272273![](doc/execution-order.png)274275## Installation276

Update README.mdDavid Peterbefore adoption12fec42

line 277why, one step back
277[![Packaging status](https://repology.org/badge/vertical-allrepos/hyperfine.svg?columns=3&exclude_unsupported=1)](https://repology.org/project/hyperfine/versions)

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 278–280why, one step back
278
279### On Ubuntu280

Update ubuntu install instructionsRavi Kant Sharmabefore adoption6b8fa5f

lines 281–286why, one step back
281On Ubuntu, hyperfine can be installed [from the official repositories](https://launchpad.net/ubuntu/+source/rust-hyperfine):
282```283apt install hyperfine284```285286Alternatively, for the latest version, you can download the appropriate `.deb` package from the [Release page](https://github.com/sharkdp/hyperfine/releases) and install it via `dpkg`:

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

line 287why, one step back
287```

Merge pull request #978 from sharkdp/codex/prepare-v1.21.0David Peterbefore adoption027f11b

lines 288–289why, one step back
288wget https://github.com/sharkdp/hyperfine/releases/download/v1.21.0/hyperfine_1.21.0_amd64.deb
289sudo dpkg -i hyperfine_1.21.0_amd64.deb

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 290–308why, one step back
290```
291292### On Fedora293294On Fedora, hyperfine can be installed from the official repositories:295296```sh297dnf install hyperfine298```299300### On Alpine Linux301302On Alpine Linux, hyperfine can be installed [from the official repositories](https://pkgs.alpinelinux.org/packages?name=hyperfine):303```304apk add hyperfine305```306307### On Arch Linux308

Fix the Arch url to repo in README.mdAymenbefore adoptionc6a6dcc

line 309why, one step back
309On Arch Linux, hyperfine can be installed [from the official repositories](https://archlinux.org/packages/extra/x86_64/hyperfine/):

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 310–315why, one step back
310```
311pacman -S hyperfine312```313314### On Debian Linux315

Debian: Hyperfine is now available in stableSylvestre Ledrubefore adoptionae4c807

line 316why, one step back
316On Debian Linux, hyperfine can be installed [from the official repositories](https://packages.debian.org/hyperfine):

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 317–320why, one step back
317```
318apt install hyperfine319```320

docs: add Exherbo Linux in README.md setup instructionsDavid Legrandbefore adoptiond712879

lines 321–322why, one step back
321### On Exherbo Linux
322

Fix typos README.mdAntonin Décimobefore adoption824aafb

line 323why, one step back
323On Exherbo Linux, hyperfine can be installed [from the rust repositories](https://gitlab.exherbo.org/exherbo/rust/-/tree/master/packages/sys-apps/hyperfine):

docs: add Exherbo Linux in README.md setup instructionsDavid Legrandbefore adoptiond712879

lines 324–328why, one step back
324```
325cave resolve -x repository/rust326cave resolve -x hyperfine327```328

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 329–335why, one step back
329### On NixOS
330331On NixOS, hyperfine can be installed [from the official repositories](https://nixos.org/nixos/packages.html?query=hyperfine):332```333nix-env -i hyperfine334```335

docs: Add flox installBryan Honofbefore adoption4a00f18

lines 336–343why, one step back
336### On Flox
337338On Flox, hyperfine can be installed as follows.339```340flox install hyperfine341```342Hyperfine's version in Flox follows that of Nix.343

Add openSUSE installation instructionsShun Sakaibefore adoption7696523

lines 344–350why, one step back
344### On openSUSE
345346On openSUSE, hyperfine can be installed [from the official repositories](https://software.opensuse.org/package/hyperfine):347```348zypper install hyperfine349```350

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 351–411why, one step back
351### On Void Linux
352353Hyperfine can be installed via xbps354355```356xbps-install -S hyperfine357```358359### On macOS360361Hyperfine can be installed via [Homebrew](https://brew.sh):362```363brew install hyperfine364```365366Or you can install using [MacPorts](https://www.macports.org):367```368sudo port selfupdate369sudo port install hyperfine370```371372### On FreeBSD373374Hyperfine can be installed via pkg:375```376pkg install hyperfine377```378379### On OpenBSD380381```382doas pkg_add hyperfine383```384385### On Windows386387Hyperfine can be installed via [Chocolatey](https://community.chocolatey.org/packages/hyperfine), [Scoop](https://scoop.sh/#/apps?q=hyperfine&s=0&d=1&o=true&id=8f7c10f75ecf5f9e42a862c615257328e2f70f61), or [Winget](https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/sharkdp/hyperfine):388```389choco install hyperfine390```391```392scoop install hyperfine393```394```395winget install hyperfine396```397398### With conda399400Hyperfine can be installed via [`conda`](https://conda.io/en/latest/) from the [`conda-forge`](https://anaconda.org/conda-forge/hyperfine) channel:401```402conda install -c conda-forge hyperfine403```404405### With cargo (Linux, macOS, Windows)406407Hyperfine can be installed from source via [cargo](https://doc.rust-lang.org/cargo/):408```409cargo install --locked hyperfine410```411

Dependency and MSRV update (#934)David Peterbefore adoption4d073e0

line 412why, one step back
412Make sure that you use Rust 1.97 or newer.

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 413–426why, one step back
413
414### From binaries (Linux, macOS, Windows)415416Download the corresponding archive from the [Release page](https://github.com/sharkdp/hyperfine/releases).417418## Alternative tools419420Hyperfine is inspired by [bench](https://github.com/Gabriella439/bench).421422## Integration with other tools423424[Chronologer](https://github.com/dandavison/chronologer) is a tool that uses `hyperfine` to425visualize changes in benchmark timings across your Git history.426

Add Bencher to list of toolsEverett Pompeiibefore adoptionc5089d8

lines 427–429why, one step back
427[Bencher](https://github.com/bencherdev/bencher) is a continuous benchmarking tool that supports `hyperfine` to
428track benchmarks and catch performance regressions in CI.429

Add link to VenzLars Kappertbefore adoption3b09185

lines 430–432why, one step back
430Drop hyperfine JSON outputs onto the [Venz](https://try.venz.dev) chart to visualize the results,
431and manage hyperfine configurations.432

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 433–443why, one step back
433Make sure to check out the [`scripts` folder](https://github.com/sharkdp/hyperfine/tree/master/scripts)
434in this repository for a set of tools to work with `hyperfine` benchmark results.435436## Origin of the name437438The name *hyperfine* was chosen in reference to the hyperfine levels of caesium 133 which play a crucial role in the439[definition of our base unit of time](https://en.wikipedia.org/wiki/Second#History_of_definition)440— the second.441442## Citing hyperfine443

Fix documentation typos and man-page formatting (#935)David Peterbefore adoption62cfbf0

line 444why, one step back
444Thank you for considering citing hyperfine in your research work. Please see the information

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 445–451why, one step back
445in the sidebar on how to properly cite hyperfine.
446447## License448449`hyperfine` is dual-licensed under the terms of the MIT License and the Apache License 2.0.450451See the [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) files for details.