sharkdp/hyperfine

Excluding non-zero exit codes from Relative Time comparison.

Open

#591 aperta il 2 dic 2022

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Rust (479 fork)batch import
feature-requesthelp wanted

Metriche repository

Star
 (28.110 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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!

Guida contributor