I added following lines to the cargo.toml of my project in order to benchmark my code:
cargo.toml
[dev-dependencies] criterion = "0.3" [[bench]] name