Commit Graph
1194 Commits
Author SHA1 Message Date
David Peter 42e75c1737 Unify TimingResult/TimerResult/Measurement 2026-10-05 15:58:56 +02:00
David Peter f9aa299c0f Switch to unit-safe quantities 2026-10-05 15:58:56 +02:00
David Peter 08e54e1973 Document reference comparison changes 2026-10-05 15:57:50 +02:00
David Peter 914d5cbc59 Units 2026-10-05 15:57:26 +02:00
David Peter d4c6b53e40 Runs => Measurements 2026-10-05 15:57:26 +02:00
David Peter 8ba632c954 More simplifications 2026-10-05 15:57:12 +02:00
David Peter f7e6d7286f Simplify run creation 2026-10-05 15:56:53 +02:00
David Peter c20fcc0bda Real => wall clock 2026-10-05 15:56:53 +02:00
David Peter af4422d212 Remove command_with_unused_parameters field 2026-10-05 15:56:52 +02:00
David Peter ae0035ad56 Use wait4 instead of getrusage 2026-10-05 15:56:37 +02:00
David Peter 50232feb22 Move user and system time 2026-10-05 15:56:36 +02:00
David Peter 14d773998a Introduce new BenchmarkRun struct 2026-10-05 15:56:36 +02:00
David Peter 46e1f9f2c1 Merge pull request #979 from sharkdp/fix/parameterized-reference
Use parameterized benchmarks as references
2026-10-05 15:55:12 +02:00
David Peter 2e6abb70d1 Snapshot reference Markdown output 2026-10-05 15:38:46 +02:00
David Peter 92330ce75d Snapshot reference comparison output 2026-10-05 15:33:13 +02:00
David Peter 027f11b90d Merge pull request #978 from sharkdp/codex/prepare-v1.21.0
Prepare release v1.21.0
2026-10-05 15:15:43 +02:00
David Peter 463a889638 Simplify parameterized reference handling 2026-10-05 15:07:46 +02:00
David Peter f7429e2fb2 Use parameterized benchmarks as references 2026-10-05 14:59:18 +02:00
David Peter 272183efd1 Prepare release v1.21.0 2026-10-05 14:55:32 +02:00
David Peter 5d501b62f9 Merge pull request #581 from devonhollowood/elapsed
Add elapsed time to progress bar
2026-10-05 14:25:29 +02:00
David Peter 8745487c60 Remove comment 2026-10-05 14:21:04 +02:00
David Peter 0f2871bd66 Address review feedback 2026-10-05 14:16:33 +02:00
Devon Hollowood ce704016f9 Make time elapsed only show up initially 2026-10-05 14:14:15 +02:00
Devon Hollowood f39b497bdd Add elapsed time to progress bar 2026-10-05 14:13:56 +02:00
David Peter 79aea8872a Merge pull request #977 from sharkdp/codex/fix-clippy-warnings
Fix Windows Clippy warnings
2026-10-05 14:13:44 +02:00
David Peter f48f44b336 Merge pull request #976 from sharkdp/codex/remaining-statistics
Compute standard deviation directly from samples
2026-10-05 14:10:05 +02:00
David Peter ebb3182a6e Fix Windows Clippy warnings 2026-10-05 14:07:39 +02:00
David Peter 0fe93f9d0b Keep the nonempty-sample assertion in median 2026-10-05 14:02:52 +02:00
David Peter 8084a9eb7f Adopt the remaining statistics changes from #790 2026-10-05 13:57:31 +02:00
David Peter efd57b3a89 Merge pull request #975 from sharkdp/codex/unified-windows-timer
Unify the Windows CPU timer stop interface
2026-10-05 13:55:36 +02:00
David Peter 580b500052 Merge pull request #973 from sharkdp/dependabot/github_actions/softprops/action-gh-release-3
Bump softprops/action-gh-release from 2 to 3
2026-10-05 13:54:02 +02:00
David Peter ee96552dae Merge pull request #974 from sharkdp/dependabot/github_actions/actions/checkout-7
Bump actions/checkout from 6 to 7
2026-10-05 13:53:45 +02:00
David Peter 6af23bb885 Unify the Windows CPU timer stop interface 2026-10-05 13:51:06 +02:00
David Peter 683885a6c8 Merge pull request #972 from sharkdp/codex/csv-quantity-formatting
Format CSV measurements through FormatQuantity
2026-10-05 13:45:52 +02:00
David Peter 33aafdca07 Merge pull request #971 from sharkdp/codex/typed-relative-speed
Use typed quantities for relative-speed calculations
2026-10-05 13:44:35 +02:00
dependabot[bot] 0e2acb67e5 Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-05 11:42:47 +00:00
dependabot[bot] de0afb81c5 Bump softprops/action-gh-release from 2 to 3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-05 11:42:43 +00:00
David Peter 16f53eb8d6 Format CSV measurements through FormatQuantity 2026-10-05 13:41:43 +02:00
David Peter df49a04a66 Use typed quantities for relative-speed calculations 2026-10-05 13:41:20 +02:00
David Peter 4aa36c8051 Merge pull request #970 from sharkdp/codex/truncate-export-rewrites
Truncate export files before rewriting results
2026-10-05 12:57:52 +02:00
David Peter e689520fb5 Merge pull request #969 from sharkdp/codex/result-measurements
Store typed Measurements in BenchmarkResult
2026-10-05 12:51:22 +02:00
David Peter 8cf4e010e9 Truncate export files before rewriting results 2026-10-05 12:48:52 +02:00
David Peter b23372c5e2 Store typed Measurements in BenchmarkResult 2026-10-05 12:46:10 +02:00
David Peter 30a2b61d4c Merge pull request #807 from willcl-ark/expose-run-var
expose HYPERFINE_ITERATION to intermediate commands
2026-10-05 12:45:29 +02:00
David Peter 3558138cea Further simplifications 2026-10-05 12:40:33 +02:00
David Peter 05de077d8e Merge pull request #968 from sharkdp/codex/parameter-metadata
Store parameter usage metadata in benchmark results
2026-10-05 12:40:06 +02:00
David Peter 1eafcf4739 Combine iteration environment variable integration tests 2026-10-05 12:38:53 +02:00
David Peter 8c40de45f8 Store parameter usage metadata in benchmark results 2026-10-05 12:35:24 +02:00
willcl-ark 44c0cc231b expose HYPERFINE_ITERATION to intermediate commands
Fixes: #781

Expose the `$HYPERFINE_ITERATION` variable to intermediate commands.
This will allow iteration-specific prepare/conclude, such as:

```bash
hyperfine --runs 5 --prepare 'echo touch file${HYPERFINE_ITERATION}.dat' \
    'echo testing file${HYPERFINE_ITERATION}.dat' \
    --conclude 'echo rm file${HYPERFINE_ITERATION}.dat' --show-output
```
2026-10-05 12:24:43 +02:00
David Peter 29a0ef164d Merge pull request #841 from starsep/colorful-help
Add colors to --help/-h
2026-10-05 12:19:43 +02:00