hyperfine/scripts
David Peter 0474fcc19d Show min/max in advanced_statistics
Branch: master
2020-01-23 13:04:42 +01:00
..
advanced_statistics.py Show min/max in advanced_statistics 2020-01-23 13:04:42 +01:00
plot_histogram.py Show the full range in histograms 2020-01-23 13:04:15 +01:00
plot_parametrized.py Add plot_parametrized.py script 2019-11-25 19:32:45 +01:00
plot_whisker.py Add a script to plot histograms 2019-10-15 17:49:59 +02:00
README.md Update scripts README 2019-10-06 21:29:37 +02:00
welch_ttest.py Output formatting 2019-10-07 19:34:05 +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