Open kzhui125 opened 3 months ago
I see the doc says how to Benchmarking With One Input
How can I benchmark with input from a function? I don't want to measure the time of function get_input.
get_input
fn do_something(size: usize) { // Do something with the size } fn get_input() -> usize { // get random number as input }
Thanks,
I see the doc says how to Benchmarking With One Input
How can I benchmark with input from a function? I don't want to measure the time of function
get_input
.Thanks,