Skip to content
Myr

README.md

This file

Path

scripts/README.md

17 lines · 478 bytes · Markdown

Last changed by

Update scripts READMEsharkdpbefore adoption134c04d

History of this file

Take it

Show the source

README.md

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