hyperfine/scripts
William Chargin 89737785f8 [update patch]
wchargin-branch: param-list-matrix
wchargin-source: f866f0df2eae5f4bac2022c0db48edb0e8e6361e
2020-10-13 14:00:46 +02:00
..
advanced_statistics.py scripts: modify shebang to use "/usr/bin/env python" 2020-10-13 12:49:36 +02:00
plot_histogram.py scripts: modify shebang to use "/usr/bin/env python" 2020-10-13 12:49:36 +02:00
plot_parametrized.py [update patch] 2020-10-13 14:00:46 +02:00
plot_whisker.py scripts: modify shebang to use "/usr/bin/env python" 2020-10-13 12:49:36 +02:00
README.md Update scripts README 2019-10-06 21:29:37 +02:00
welch_ttest.py scripts: modify shebang to use "/usr/bin/env python" 2020-10-13 12:49:36 +02:00

This folder contains scripts that can be used in combination with hyperfines --export-json option.

Example:

> hyperfine 'sleep 0.020' 'sleep 0.021' 'sleep 0.022' --export-json sleep.json
> python plot_benchmark_results.py sleep.json

Pre-requisites

To make these scripts work, you will need to install numpy and matplotlib. Install them via your package manager or pip:

pip install numpy matplotlib  # pip3, if you are using python3