Table of Contents

Class MaxRelativeErrorAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll

Maximum acceptable error for a benchmark (by default, BenchmarkDotNet continue iterations until the actual error is less than the specified error). The default value is 0.02. If MaxAbsoluteError is also provided, the smallest value is used as stop criteria.

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

Constructors

MaxRelativeErrorAttribute(double)

public MaxRelativeErrorAttribute(double maxRelativeError)

Parameters

maxRelativeError double