nonius icon indicating copy to clipboard operation
nonius copied to clipboard

Automatically determine number of samples given a maximal execution time

Open nlohmann opened this issue 9 years ago • 0 comments

I have a set of executions with varying individual runtimes (11 ms to 1297 ms). If I execute the benchmark with a fixed number of samples, the runtimes of each execution are likewise varying.

Is it possible to provide measure like "maximal runtime per execution" (like 20 seconds) and the library determines for each executions how many samples to execute?

nlohmann avatar Dec 22 '16 11:12 nlohmann