Skip to content
Myr

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

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

Prepare release v1.21.0

authored by David Peter · committed by GitHub · parents 5d501b6, 272183e · Browse files · 5 files+38 added−6 removed
This commit

State

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

Diff stats

5 files+38 added−6 removed

  • other:+38 added−6 removed

5 files+38 added−6 removed

modified:Cargo.lock+1 added-1 removed
369 unmodified lines
370checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"371372[[package]]373name = "hyperfine"374version = "1.20.0"374version = "1.21.0"375dependencies = [376 "anyhow",377 "approx",378 "assert_cmd",
804 unmodified lines
modified:Cargo.toml+1 added-1 removed
modified:CHANGELOG.md+32 added
1# v1.21.023## Features45- Add support for minutes and hours in `--time-unit`, as well as short and plural aliases such as `ms`, `seconds`, and `min`, see #960 (@sharkdp)6- Expose `$HYPERFINE_ITERATION` to `--prepare` and `--conclude` commands, see #781 and #807 (@willcl-ark)7- Show elapsed time during the initial benchmark run, see #416 and #581 (@devonhollowood)8- Add colors to `--help` output, see #841 (@starsep)910## Changes1112- Format times in CSV exports with six decimal places, see #966 and #972 (@sharkdp)13- Update dependencies and raise the minimum supported Rust version to 1.97, see #934 (@sharkdp)1415## Bugfixes1617- Reject zero values for `--runs`, `--min-runs`, and `--max-runs` instead of allowing invalid run counts, see #923 (@VXNCXNX, @sharkdp)18- Reject negative parameter-scan steps before expanding ranges, avoiding hangs and excessive memory use, see #951 (@Likio3000)19- Preserve existing export files when command options are invalid, see #950 (@Likio3000)20- Truncate export files when rewriting results to avoid leaving trailing bytes, see #970 (@sharkdp)21- Preserve backticks in command names in Markdown exports, see #947 (@Likio3000)22- Handle broken output pipes gracefully instead of panicking, see #932 (@Mathjk)23- Collect peak memory usage separately for each command on Unix, so commands no longer inherit the peak memory usage of earlier commands, see #965 (@sharkdp)24- Preserve 100-nanosecond precision in Windows CPU times, see #964 (@sharkdp)25- Python scripts: Correct the interpretation of Welch's t-test results, see #943 (@sharkdp)2627## Other2829- Build binaries for Windows ARM64 and Linux ARM64 musl, see #922 and #924 (@meop)30- Refactor measurement, statistics, and formatting code to use typed quantities, see #954, #958, #961, #967, #969, #971, and #976 (@sharkdp)31- Improve documentation and examples, including comparisons across Git branches, iteration variables, reference commands, and selective failure handling, see #899, #900, #929, and #940 (@xfocus3, @ded-furby, @Likio3000, @sharkdp)3233# v1.20.03435## Features36
418 unmodified lines
modified:CITATION.cff+2 added-2 removed
11 unmodified lines
12 orcid: 'https://orcid.org/0000-0001-7950-9915'13repository-code: 'https://github.com/sharkdp/hyperfine'14abstract: A command-line benchmarking tool.15license: MIT16version: 1.20.017date-released: '2025-11-18'16version: 1.21.017date-released: '2026-10-05'
modified:README.md+2 added-2 removed
186 unmodified lines
187```188189Alternatively, 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`:190```191wget https://github.com/sharkdp/hyperfine/releases/download/v1.20.0/hyperfine_1.20.0_amd64.deb192sudo dpkg -i hyperfine_1.20.0_amd64.deb191wget https://github.com/sharkdp/hyperfine/releases/download/v1.21.0/hyperfine_1.21.0_amd64.deb192sudo dpkg -i hyperfine_1.21.0_amd64.deb193```194195### On Fedora196
158 unmodified lines