sharkdp/hyperfine

Add an option to save a benchmark run for later comparisons

オープン

#607 opened on 2023/01/28

 (6 件のコメント) (11 件のリアクション) (0 人の担当者)Rust (479 件のフォーク)batch import
feature-requesthelp wanted

Repository metrics

Stars
 (28,110 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

There are times when I want to have some baseline saved that I compare later changes to. It would be convenient if I had a way to save a benchmarking run and then load that to later runs. Something like

$ hyperfine --save-benchmark baseline 'sleep 1'
$ hyperfine --load-benchmark baseline 'sleep 0.5'
{{ display things as though `hyperfine 'sleep 1' 'sleep 0.5'` had been run }}

If you're interested in supporting this then I can work on adding it as a feature

コントリビューターガイド