Table of Contents

Class MinIterationTimeAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll

Minimum time of a single iteration. Unlike Run.IterationTime, this characteristic specifies only the lower limit. In case of need, BenchmarkDotNet can increase this value. The default value is 500 milliseconds.

public class MinIterationTimeAttribute : JobMutatorConfigBaseAttribute, IConfigSource
Inheritance
MinIterationTimeAttribute
Implements
Inherited Members

Constructors

MinIterationTimeAttribute(double)

public MinIterationTimeAttribute(double milliseconds)

Parameters

milliseconds double
Minimum time of a single iteration. Unlike Run.IterationTime, this characteristic specifies only the lower limit. In case of need, BenchmarkDotNet can increase this value. The default value is 500 milliseconds.