hyperfine/scripts
2024-08-28 16:52:02 +02:00
..
advanced_statistics.py Add PEP-723 inline metadata 2024-08-28 16:52:02 +02:00
plot_histogram.py Add PEP-723 inline metadata 2024-08-28 16:52:02 +02:00
plot_parametrized.py Add PEP-723 inline metadata 2024-08-28 16:52:02 +02:00
plot_progression.py Add PEP-723 inline metadata 2024-08-28 16:52:02 +02:00
plot_whisker.py Add PEP-723 inline metadata 2024-08-28 16:52:02 +02:00
README.md Remove extraneous characters from code sample 2022-05-20 09:49:28 +02:00
welch_ttest.py Add PEP-723 inline metadata 2024-08-28 16:52:02 +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