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
Provenance
- Commit
027f11b- Tree
9d33cd2- Author
David Peter <sharkdp@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent 1
5d501b6- Parent 2
272183e
5 files changed+38 added−6 removed
modified:Cargo.lock+1 added-1 removed
369 unmodified lines370 checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"371 372 [[package]]373 name = "hyperfine"374-version = "1.20.0"374+version = "1.21.0"375 dependencies = [376 "anyhow",377 "approx",378 "assert_cmd",804 unmodified linesmodified:Cargo.toml+1 added-1 removed
5 unmodified lines678910101112131469 unmodified lines5 unmodified lineslicense = "MIT OR Apache-2.0"name = "hyperfine"readme = "README.md"repository = "https://github.com/sharkdp/hyperfine"version = "1.20.0"version = "1.21.0"edition = "2018"build = "build.rs"rust-version = "1.97.0"
69 unmodified linesmodified:CHANGELOG.md+32 added
1+# v1.21.02+3+## Features4+5+- 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)9+10+## Changes11+12+- 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)14+15+## Bugfixes16+17+- 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)26+27+## Other28+29+- 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)32+33 # v1.20.034 35 ## Features36 418 unmodified linesmodified:CITATION.cff+2 added-2 removed
11 unmodified lines12 orcid: 'https://orcid.org/0000-0001-7950-9915'13 repository-code: 'https://github.com/sharkdp/hyperfine'14 abstract: A command-line benchmarking tool.15 license: MIT16-version: 1.20.017-date-released: '2025-11-18'16+version: 1.21.017+date-released: '2026-10-05'modified:README.md+2 added-2 removed
186 unmodified lines187 ```188 189 Alternatively, 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 ```191-wget https://github.com/sharkdp/hyperfine/releases/download/v1.20.0/hyperfine_1.20.0_amd64.deb192-sudo dpkg -i hyperfine_1.20.0_amd64.deb191+wget https://github.com/sharkdp/hyperfine/releases/download/v1.21.0/hyperfine_1.21.0_amd64.deb192+sudo dpkg -i hyperfine_1.21.0_amd64.deb193 ```194 195 ### On Fedora196 158 unmodified lines