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 d9418e0 point at it.

Use raw executor by default, skip intermediate shellDavid Peterbefore adoptiond9418e0

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

Use raw executor by default, skip intermediate shellDavid Peterbefore adoptiond9418e0

lines 8–11why, one step back
8```
910### Pre-requisites11

Add scipy to scripts README.md pre-requisitesVin Singhbefore adoption56cce61

line 12why, one step back
12To make these scripts work, you will need to install `numpy`, `matplotlib` and `scipy`. Install them via

Use raw executor by default, skip intermediate shellDavid Peterbefore adoptiond9418e0

lines 13–15why, one step back
13your package manager or `pip`:
1415```bash

Add scipy to scripts README.md pre-requisitesVin Singhbefore adoption56cce61

line 16why, one step back
16pip install numpy matplotlib scipy # pip3, if you are using python3

Use raw executor by default, skip intermediate shellDavid Peterbefore adoptiond9418e0

line 17why, one step back
17```