sharkdp / hyperfine

A command-line benchmarking tool
Apache License 2.0
21.67k stars 349 forks source link

How know which run is used to execute the command? #667

Closed mamcx closed 1 year ago

mamcx commented 1 year ago

When running hyperfine is possible to know which run is active when the command is launched?

hyperfine --runs 10 "${bench} --db spacetime ${1} RUN_N"
sharkdp commented 1 year ago

Not yet, but please see $HYPERFINE_ITERATION in https://github.com/sharkdp/hyperfine/issues/529#issuecomment-1215697905