Example code and improvements automated via Criterion
Build and run benchmarks
$ cargo bench
Install criterion compare
$ cargo install critcmp
Summarise benchmark results
$ critcmp
We had to introduce a random function to emulate user input for the Cow bench mark.