BenchConfig
Configuration of a benchmark.
class val BenchConfig
Constructors
create
new val create( samples': USize val = 20, max_iterations': U64 val = 1000000000, max_sample_time': U64 val = 100000000) : BenchConfig val^
Parameters
- samples': USize val = 20
- max_iterations': U64 val = 1000000000
- max_sample_time': U64 val = 100000000
Returns
- BenchConfig val^
Public fields
let samples: USize val
Total number of samples to be measured. (Default: 20)
let max_iterations: U64 val
Maximum number of iterations to execute per sample. (Default: 1_000_000_000)
let max_sample_time: U64 val
Maximum time to execute a sample in Nanoseconds. (Default: 100_000_000)
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/ponybench-BenchConfig