hyperfine/scripts
2022-03-05 12:03:29 +01:00
..
advanced_statistics.py Add number of runs to advanced_statistics.py 2022-03-05 11:53:59 +01:00
plot_histogram.py Add --t-min/--t-max to histogram script 2022-02-27 20:11:13 +01:00
plot_parametrized.py Change parameter name in plotting scripts 2021-02-16 08:21:45 +01:00
plot_progression.py Add plot_progression.py 2022-03-05 12:03:29 +01:00
plot_whisker.py Change parameter name in plotting scripts 2021-02-16 08:21:45 +01:00
README.md Add scipy to scripts README.md pre-requisites 2022-03-03 20:37:09 +01: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_whisker.py sleep.json

Pre-requisites

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

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