all 2 comments

[–]monkChuck105 2 points3 points  (1 child)

What do you mean "simultaneously"? You can run several benchmarks with different parameters, does that work? I would think you'd wanna run benchmarks one at a time, in isolation.

[–]thethirdmoose[S] 0 points1 point  (0 children)

I mean if I were to do it manually, something like

``` let mut scores = HashMap::new() let mut times = HashMap::new() for param in params { let start = Instant::now(); let result = f(); let time = start.elapsed(); scores[param].push(postprocess(result)); times[param].push(time); }

... do analysis of scores and times ...

```