Table of Contents

Class MaxWarmupCountAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll

Maximum count of warmup iterations that should be performed The default value is 50

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

Constructors

MaxWarmupCountAttribute(int, bool)

public MaxWarmupCountAttribute(int maxWarmupCount, bool forceAutoWarmup = false)

Parameters

maxWarmupCount int

Maximum count of warmup iterations that should be performed. The default value is 50

forceAutoWarmup bool

if set to true, will overwrite WarmupCount of the global config