README.md
This file
Path
scripts/README.md
17 lines · 468 bytes · Markdown
Last changed by
Fix reference to plotting scriptDavid Peterbefore adoption6bfef81
History of this fileTake it
The walk stopped after 200 commits: lines older than e1fea57 point at it.
Adds tip for benchmarking aliases and functionsThiago Arraisbefore adoptione1fea57
lines 1–6why, one step back1This folder contains scripts that can be used in combination with hyperfines `--export-json` option.23### Example:45``` bash6> hyperfine 'sleep 0.020' 'sleep 0.021' 'sleep 0.022' --export-json sleep.jsonFix reference to plotting scriptDavid Peterbefore adoption6bfef81
line 7why, one step back7> python plot_whisker.py sleep.jsonAdds tip for benchmarking aliases and functionsThiago Arraisbefore adoptione1fea57
lines 8–17why, one step back8```910### Pre-requisites1112To make these scripts work, you will need to install `numpy` and `matplotlib`. Install them via13your package manager or `pip`:1415```bash16pip install numpy matplotlib # pip3, if you are using python317```