Benchmarks in main crate code mean that the whole code has to opt into `test`. Also, in any cargo project, benchmark files can be put into the `benches` folder, which is a much more appropriate place.