Closed SHiftLin closed 2 years ago
Looks great to me! Except one thing is that I would use more descriptive and specific names for types and variables. I would change Verb to Op/Operation, Test to TestType/BenchType, and num to some other concrete name ('num' is too general).
Another thing is that I would let the structopt decide the option name, so instead of writing #[structopt(short = "w", long = "warmup", default_value = "100")]
I would rather use #[structopt(short, long, default_value = "100")]
.
We can change these later. Great work!
Closes #47
Why are these changes needed?
Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.scripts/clippy.sh
to lint the changes in this PR.