sharkdp/hyperfine

Excluding non-zero exit codes from Relative Time comparison.

Open

#591 建立於 2022年12月2日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Rust (479 fork)batch import
feature-requesthelp wanted

倉庫指標

Star
 (28,110 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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!

貢獻者指南