Commit Graph
1106 Commits
Author SHA1 Message Date
David Peter 16f53eb8d6 Format CSV measurements through FormatQuantity 2026-10-05 13:41:43 +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
Filip Czaplicki bb834ca5aa Add colors to --help 2026-10-05 12:13:37 +02:00
David Peter 87f3905678 Merge pull request #883 from c-tonneslan/docs/modifized-typo
Fix "modifized" typo on modified_zscores docstring
2026-10-05 12:13:07 +02:00
David Peter 0a61e330cf Merge pull request #947 from Likio3000/codex/fix-markdown-backticks
Preserve backticks in Markdown command names
2026-10-05 12:11:51 +02:00
Charlie Tonneslan 4917c557e4 Fix "modifized" typo on modified_zscores docstring
Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
2026-10-05 12:09:44 +02:00
David Peter a2d7094282 Merge pull request #900 from ded-furby/docs/hyperfine-iteration-readme
docs: mention HYPERFINE_ITERATION in README
2026-10-05 12:07:23 +02:00
David Peter 9bf42b337d Snapshot test 2026-10-05 12:04:09 +02:00
Eric Soler a760e75f2f Preserve backticks in Markdown command names 2026-10-05 12:01:42 +02:00
David Peter a6c301099b Merge pull request #967 from sharkdp/codex/quantity-formatting
Extract typed quantity formatting
2026-10-05 11:59:04 +02:00
David Peter 88a9150b4c Merge pull request #899 from xfocus3/docs/compare-git-branches-606
docs: show how to benchmark across git branches
2026-10-05 11:56:15 +02:00
David Peter 094d0121ef docs: simplify branch comparison example 2026-10-05 11:53:24 +02:00
xfocus3 c974f9b4d9 docs: mention branch checkout side effect 2026-10-05 11:53:07 +02:00
xfocus3 e1fa3ace8d docs: show how to benchmark across git branches 2026-10-05 11:53:07 +02:00
David Peter 6f557e0494 Extract typed quantity formatting 2026-10-05 11:46:49 +02:00
David Peter 862625fb3d Merge pull request #951 from Likio3000/codex/reject-negative-parameter-steps
Reject negative parameter steps before expanding ranges
2026-10-05 11:32:10 +02:00
David Peter d3d67fc908 Merge pull request #950 from Likio3000/codex/preserve-exports-on-invalid-options
Preserve export files when command options are invalid
2026-10-05 11:30:58 +02:00
David Peter e43bf855c0 Merge pull request #965 from sharkdp/codex/wait4-resource-usage
Use `wait4` for per-command resource usage on Unix
2026-10-05 11:25:55 +02:00
David Peter 430dc5ed25 Merge pull request #966 from sharkdp/codex/csv-six-decimals
Format CSV times with six decimal places
2026-10-05 11:24:01 +02:00
David Peter 1c1be471f9 Merge pull request #964 from sharkdp/codex/windows-timer-precision
Preserve 100-nanosecond precision in Windows CPU times
2026-10-05 11:19:22 +02:00
David Peter f16b6b97bc Merge pull request #963 from sharkdp/codex/measurement-helpers
Extract quantity and command helpers
2026-10-05 11:18:28 +02:00
David Peter b4fb20f85b Format CSV times with six decimal places 2026-10-05 11:16:20 +02:00
David Peter c72a4c764a Use wait4 for per-command resource usage on Unix 2026-10-05 11:15:39 +02:00
David Peter 85293b50fd Preserve 100-nanosecond precision in Windows CPU times 2026-10-05 11:15:01 +02:00
David Peter b5f58651a1 Extract quantity and command helpers 2026-10-05 11:14:09 +02:00
David Peter ecf8a24b1e Merge pull request #962 from sharkdp/codex/quantity-module-layout
Group units, formatting, and statistics under quantity
2026-10-05 11:04:56 +02:00
David Peter 975a25ce44 Merge pull request #961 from sharkdp/codex/uom-quantities
Use uom quantities for benchmark measurements
2026-10-05 10:47:07 +02:00
David Peter aa14b8c0d9 Group units, formatting, and statistics under quantity 2026-10-05 10:46:51 +02:00
David Peter bef66df7e4 Restore original quantity trait and comments 2026-10-05 10:43:13 +02:00
David Peter a8e56efecc Use uom quantities for benchmark measurements 2026-10-05 10:32:32 +02:00
David Peter 9cdb9c4c50 Merge pull request #840 from sharkdp/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2026-10-05 10:30:51 +02:00
David Peter fbdb75efc3 Merge pull request #960 from sharkdp/codex/time-unit-aliases
Support minutes, hours, and time unit aliases
2026-10-05 10:27:09 +02:00
David Peter 09faea5f84 Remove changelog edit 2026-10-05 10:23:36 +02:00
David Peter 73cf51eda4 Merge pull request #956 from sharkdp/codex/inline-snapshot-tests
Use insta-cmd inline snapshots for benchmark report integration tests
2026-10-05 10:22:11 +02:00
David Peter 0bccf959b9 Merge master and resolve dependency lockfile conflict 2026-10-05 10:18:47 +02:00
David Peter 84ff04f35d Support minutes, hours, and time unit aliases 2026-10-05 10:18:42 +02:00
David Peter 16e23a1b42 Merge pull request #958 from sharkdp/codex/measurements-collection
Collect benchmark runs in Measurements
2026-10-05 10:14:57 +02:00
David Peter a24f76c0ce Use insta-cmd for benchmark report snapshots 2026-10-05 10:11:53 +02:00
David Peter db3a3dedc7 Collect benchmark runs in Measurements 2026-10-05 10:10:09 +02:00
David Peter 35c94a0e36 Clarify internal measurement field names 2026-10-05 10:09:41 +02:00