sharkdp/hyperfine

Excluding non-zero exit codes from Relative Time comparison.

开放

#591 创建于 2022年12月2日

 (4 条评论) (0 个反应) (0 位负责人)Rust (479 个派生)batch import
feature-requesthelp wanted

仓库指标

星标
 (28,110 个星标)
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!

贡献者指南