Class AccuracyMode
- Namespace
- BenchmarkDotNet.Jobs
- Assembly
- BenchmarkDotNet.dll
public sealed class AccuracyMode : JobMode<AccuracyMode>
- Inheritance
-
AccuracyMode
- Inherited Members
- Extension Methods
Constructors
AccuracyMode()
public AccuracyMode()
Fields
AnalyzeLaunchVarianceCharacteristic
public static readonly Characteristic<bool> AnalyzeLaunchVarianceCharacteristic
Field Value
EvaluateOverheadCharacteristic
public static readonly Characteristic<bool> EvaluateOverheadCharacteristic
Field Value
MaxAbsoluteErrorCharacteristic
public static readonly Characteristic<TimeInterval> MaxAbsoluteErrorCharacteristic
Field Value
- Characteristic<TimeInterval>
MaxRelativeErrorCharacteristic
public static readonly Characteristic<double> MaxRelativeErrorCharacteristic
Field Value
MinInvokeCountCharacteristic
public static readonly Characteristic<int> MinInvokeCountCharacteristic
Field Value
MinIterationTimeCharacteristic
public static readonly Characteristic<TimeInterval> MinIterationTimeCharacteristic
Field Value
- Characteristic<TimeInterval>
OutlierModeCharacteristic
public static readonly Characteristic<OutlierMode> OutlierModeCharacteristic
Field Value
- Characteristic<OutlierMode>
Properties
AnalyzeLaunchVariance
public bool AnalyzeLaunchVariance { get; set; }
Property Value
EvaluateOverhead
Specifies if the overhead should be evaluated (Idle runs) and it's average value subtracted from every result. True by default, very important for nano-benchmarks.
public bool EvaluateOverhead { get; set; }
Property Value
MaxAbsoluteError
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 TimeInterval MaxAbsoluteError { get; set; }
Property Value
- TimeInterval
MaxRelativeError
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.
public double MaxRelativeError { get; set; }
Property Value
MinInvokeCount
Minimum count of benchmark invocations per iteration. The default value is 4.
public int MinInvokeCount { get; set; }
Property Value
MinIterationTime
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 TimeInterval MinIterationTime { get; set; }
Property Value
- TimeInterval
OutlierMode
Specifies which outliers should be removed from the distribution.
public OutlierMode OutlierMode { get; set; }
Property Value
- OutlierMode