sharkdp/hyperfine

Add an option to save a benchmark run for later comparisons

Open

#607 ouverte le 28 janv. 2023

Voir sur GitHub
 (6 commentaires) (11 réactions) (0 assignés)Rust (479 forks)batch import
feature-requesthelp wanted

Métriques du dépôt

Stars
 (28 110 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur