VmBenchmarkRunner constructor
Creates a runner with warmups and measured repetitions.
warmupCount may be zero; repetitionCount must be between 1 and
1,000,000.
Implementation
VmBenchmarkRunner({this.warmupCount = 1, this.repetitionCount = 10}) {
RangeError.checkNotNegative(warmupCount, 'warmupCount');
RangeError.checkValueInInterval(
repetitionCount,
1,
1000000,
'repetitionCount',
);
}