nixpulvis / oursh

Your comrade through the perilous world of UNIX.
http://nixpulvis.com/oursh/oursh
MIT License
67 stars 6 forks source link

Move benchmarks into tests/ as #[bench] items #16

Closed nixpulvis closed 5 years ago

nixpulvis commented 5 years ago

Rust's test crate supports #[bench] functions with helper functions to assist with the kinds of things I'm doing in bench.fish.

nixpulvis commented 5 years ago

Worth looking at the source of https://github.com/sharkdp/hyperfine.