Class MaxAbsoluteErrorAttribute
- 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).
Doesn't have a default value.
public class MaxAbsoluteErrorAttribute : JobMutatorConfigBaseAttribute, IConfigSource
- Inheritance
-
MaxAbsoluteErrorAttribute
- Implements
- Inherited Members
Constructors
MaxAbsoluteErrorAttribute(double)
public MaxAbsoluteErrorAttribute(double nanoseconds)
Parameters
nanoseconds
double- Maximum acceptable error for a benchmark (by default, BenchmarkDotNet continue iterations until the actual error is less than the specified error). Doesn't have a default value. If is also provided, the smallest value is used as stop criteria.