mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 16:18:57 +00:00
465 B
465 B
This folder contains scripts that can be used in combination with hyperfines --export-json option.
Pre-requisites
To make theses scripts work, you will need matplotlib installed. Just execute the following commands:
pip install matplotlib
# If you're using python 3
pip3 install matplotlib
Example:
> hyperfine 'sleep 0.020' 'sleep 0.021' 'sleep 0.022' --export-json sleep.json
> python plot_benchmark_results.py sleep.json