Commit Graph
485 Commits
Author SHA1 Message Date
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 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 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 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 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 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
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
Eric Soler a760e75f2f Preserve backticks in Markdown command names 2026-10-05 12:01:42 +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 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 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 84ff04f35d Support minutes, hours, and time unit aliases 2026-10-05 10:18:42 +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
David Peter 750fe11b85 Merge pull request #954 from sharkdp/codex/remove-statistical
Replace statistical with local floating-point helpers
2026-10-05 10:03:27 +02:00
David Peter 305e89d536 Consolidate min and max in the statistics module 2026-10-05 10:00:07 +02:00
David Peter 694057829b Keep the original statistics tests from #790 2026-10-05 09:54:45 +02:00
David Peter 1fb03c3807 Replace statistical with local floating-point helpers 2026-10-05 09:47:33 +02:00
David Peter 6cb9566118 Unify timer and executor measurement results 2026-10-05 09:47:09 +02:00
David Peter 258af076cb Merge pull request #854 from Rohan5commit/docs/fix-arithmetic-wording
docs: fix arithmetic wording in help text
2026-10-05 09:46:30 +02:00