Namespace BenchmarkDotNet.Attributes
Classes
AllCategoriesFilterAttribute
AllStatisticsColumnAttribute
AnyCategoriesFilterAttribute
ArgumentsAttribute
ArgumentsSourceAttribute
ArtifactsPathAttribute
AsciiDocExporterAttribute
BaselineColumnAttribute
BenchmarkAttribute
BenchmarkCategoryAttribute
CategoriesColumnAttribute
ClrJobAttribute
ColumnConfigBaseAttribute
ConfidenceIntervalErrorColumnAttribute
ConfigAttribute
CoreJobAttribute
CsvExporterAttribute
CsvMeasurementsExporterAttribute
DisassemblyDiagnoserAttribute
DryClrJobAttribute
DryCoreJobAttribute
DryJobAttribute
DryMonoJobAttribute
EncodingAttribute
EncodingAttribute.ASCII
EncodingAttribute.Unicode
EvaluateOverheadAttribute
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.
EventPipeProfilerAttribute
ExecutionValidatorAttribute
ExporterConfigBaseAttribute
FilterConfigBaseAttribute
GcConcurrentAttribute
Specifies whether the common language runtime runs garbage collection on a separate thread.
GcForceAttribute
Specifies whether the BenchmarkDotNet's benchmark runner forces full garbage collection after each benchmark invocation
GcServerAttribute
Specifies whether the common language runtime runs server garbage collection.
GenericTypeArgumentsAttribute
GlobalCleanupAttribute
Marks method to be executed after all benchmark iterations.
GlobalSetupAttribute
Marks method to be executed before all benchmark iterations.
GroupBenchmarksByAttribute
HardwareCountersAttribute
HtmlExporterAttribute
InnerIterationCountAttribute
Invocation count in a single iteration. Does exactly the same as InvocationCountAttribute, added to make porting from xunit-performance to BenchmarkDotNet easier
InProcessAttribute
InvocationCountAttribute
Invocation count in a single iteration. If specified, IterationTime will be ignored. If specified, it must be a multiple of UnrollFactor.
IterationCleanupAttribute
Marks method to be executed after each benchmark iteration. This should NOT be used for microbenchmarks - please see the docs.
IterationCountAttribute
How many target iterations should be performed If specified, MinIterationCount will be ignored. If specified, MaxIterationCount will be ignored.
IterationsColumnAttribute
IterationSetupAttribute
Marks method to be executed before each benchmark iteration. This should NOT be used for microbenchmarks - please see the docs.
IterationTimeAttribute
Desired time of execution of an iteration. Used by Pilot stage to estimate the number of invocations per iteration. The default value is 500 milliseconds.
JobConfigBaseAttribute
JobMutatorConfigBaseAttribute
JsonExporterAttribute
JsonExporterAttribute.BriefAttribute
JsonExporterAttribute.BriefCompressed
JsonExporterAttribute.Full
JsonExporterAttribute.FullCompressed
KeepBenchmarkFilesAttribute
determines if all auto-generated files should be kept or removed after running the benchmarks
KurtosisColumnAttribute
LegacyJitX64JobAttribute
LegacyJitX86JobAttribute
LogicalGroupColumnAttribute
LongRunJobAttribute
MarkdownExporterAttribute
MarkdownExporterAttribute.Atlassian
MarkdownExporterAttribute.Default
MarkdownExporterAttribute.GitHub
MarkdownExporterAttribute.StackOverflow
MaxAbsoluteErrorAttribute
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.
MaxColumnAttribute
MaxIterationCountAttribute
Maximum count of target iterations that should be performed
The default value is 100
MaxRelativeErrorAttribute
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.
MaxWarmupCountAttribute
Maximum count of warmup iterations that should be performed The default value is 50
MeanColumnAttribute
MedianColumnAttribute
MediumRunJobAttribute
MemoryDiagnoserAttribute
MemoryRandomizationAttribute
specifies whether Engine should allocate some random-sized memory between iterations
MinColumnAttribute
MinInvokeCountAttribute
Minimum count of benchmark invocations per iteration. The default value is 4.
MinIterationCountAttribute
Minimum count of target iterations that should be performed.
The default value is 15.
MinIterationTimeAttribute
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.
MinWarmupCountAttribute
Minimum count of warmup iterations that should be performed The default value is 6
MonoJobAttribute
MValueColumnAttribute
Prints mvalue. See http://www.brendangregg.com/FrequencyTrails/modes.html
NamespaceColumnAttribute
Add a column with the target method namespace.
OperatingSystemsArchitectureFilterAttribute
OperatingSystemsFilterAttribute
OrdererAttribute
OutliersAttribute
Specifies which outliers should be removed from the distribution
ParamsAllValuesAttribute
ParamsAttribute
ParamsSourceAttribute
PlainExporterAttribute
PriorityAttribute
ProcessCountAttribute
How many times we should launch process with target benchmark.
Q1ColumnAttribute
Q3ColumnAttribute
RankColumnAttribute
ReturnValueValidatorAttribute
RPlotExporterAttribute
RunOncePerIterationAttribute
Run the benchmark exactly once per iteration.
RyuJitX64JobAttribute
RyuJitX86JobAttribute
ShortRunJobAttribute
SimpleJobAttribute
SkewnessColumnAttribute
StatisticalTestColumnAttribute
StdDevColumnAttribute
StdErrorColumnAttribute
StopOnFirstErrorAttribute
determines if running should be stop after first error
TargetedAttribute
Base class for attributes that are targeted at one or more method(s)
ThreadingDiagnoserAttribute
UnicodeConsoleLoggerAttribute
Enable unicode support in console logger
ValidatorConfigBaseAttribute
VeryLongRunJobAttribute
WarmupCountAttribute
How many warmup iterations should be performed.