Skip to content
Myr

README.md

This file

Path

scripts/README.md

17 lines · 478 bytes · Markdown

Last changed by

Remove extraneous characters from code sampleanothermhbefore adoption546f504

History of this file

Take it

The walk stopped after 200 commits: lines older than 277807c point at it.

Implement --output={null,pipe,<FILE>}Tavian Barnesbefore adoption277807c

lines 1–4why, one step back
1This folder contains scripts that can be used in combination with hyperfines `--export-json` option.
23### Example:4

Remove extraneous characters from code sampleanothermhbefore adoption546f504

lines 5–7why, one step back
5```bash
6hyperfine 'sleep 0.020' 'sleep 0.021' 'sleep 0.022' --export-json sleep.json7python plot_whisker.py sleep.json

Implement --output={null,pipe,<FILE>}Tavian Barnesbefore adoption277807c

lines 8–17why, one step back
8```
910### Pre-requisites1112To make these scripts work, you will need to install `numpy`, `matplotlib` and `scipy`. Install them via13your package manager or `pip`:1415```bash16pip install numpy matplotlib scipy # pip3, if you are using python317```