sharkdp/hyperfine

Excluding non-zero exit codes from Relative Time comparison.

Open

#591 opened on Dec 2, 2022

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Rust (28,110 stars) (479 forks)batch import
feature-requesthelp wanted

Description

I usually run a few sets of parameter lists which quickly explodes in number of instances (which is working as intended!). However, all the runs are shown in the summary at the end including those that exited with an non-zero exit code.

Looking at the code base, adding a filter in src/benchmark/relative_speed::compute to remove results with non-zero exit codes from the output should fix it.

I'm not really sure if there are more dependencies on the compute function elsewhere though or I would have just pushed a PR.


PS. Thanks for the all the great software! I use hyperfine, fd, and bat all the time!

Contributor guide