Class ConfigExtensions
- Namespace
- BenchmarkDotNet.Configs
- Assembly
- BenchmarkDotNet.dll
public static class ConfigExtensions
- Inheritance
-
ConfigExtensions
Methods
AddAnalyser(IConfig, params IAnalyser[])
public static ManualConfig AddAnalyser(this IConfig config, params IAnalyser[] analysers)
Parameters
Returns
AddColumn(IConfig, params IColumn[])
public static ManualConfig AddColumn(this IConfig config, params IColumn[] columns)
Parameters
Returns
AddColumnProvider(IConfig, params IColumnProvider[])
public static ManualConfig AddColumnProvider(this IConfig config, params IColumnProvider[] columnProviders)
Parameters
config
IConfigcolumnProviders
IColumnProvider[]
Returns
AddDiagnoser(IConfig, params IDiagnoser[])
public static ManualConfig AddDiagnoser(this IConfig config, params IDiagnoser[] diagnosers)
Parameters
config
IConfigdiagnosers
IDiagnoser[]
Returns
AddEventProcessor(IConfig, params EventProcessor[])
public static ManualConfig AddEventProcessor(this IConfig config, params EventProcessor[] eventProcessors)
Parameters
config
IConfigeventProcessors
EventProcessor[]
Returns
AddExporter(IConfig, params IExporter[])
public static ManualConfig AddExporter(this IConfig config, params IExporter[] exporters)
Parameters
Returns
AddFilter(IConfig, params IFilter[])
public static ManualConfig AddFilter(this IConfig config, params IFilter[] filters)
Parameters
Returns
AddHardwareCounters(IConfig, params HardwareCounter[])
public static ManualConfig AddHardwareCounters(this IConfig config, params HardwareCounter[] counters)
Parameters
config
IConfigcounters
HardwareCounter[]
Returns
AddJob(IConfig, Job)
public static ManualConfig AddJob(this IConfig config, Job job)
Parameters
Returns
AddLogger(IConfig, params ILogger[])
public static ManualConfig AddLogger(this IConfig config, params ILogger[] loggers)
Parameters
Returns
AddLogicalGroupRules(IConfig, params BenchmarkLogicalGroupRule[])
public static ManualConfig AddLogicalGroupRules(this IConfig config, params BenchmarkLogicalGroupRule[] rules)
Parameters
config
IConfigrules
BenchmarkLogicalGroupRule[]
Returns
AddValidator(IConfig, params IValidator[])
public static ManualConfig AddValidator(this IConfig config, params IValidator[] validators)
Parameters
config
IConfigvalidators
IValidator[]
Returns
CreateImmutableConfig(IConfig)
public static ImmutableConfig CreateImmutableConfig(this IConfig config)
Parameters
config
IConfig
Returns
DontOverwriteResults(IConfig, bool)
determines if the exported result files should not be overwritten (be default they are overwritten)
public static IConfig DontOverwriteResults(this IConfig config, bool value = true)
Parameters
Returns
HideColumns(IConfig, params IColumnHidingRule[])
public static ManualConfig HideColumns(this IConfig config, params IColumnHidingRule[] rules)
Parameters
config
IConfigrules
IColumnHidingRule[]
Returns
HideColumns(IConfig, params IColumn[])
public static ManualConfig HideColumns(this IConfig config, params IColumn[] columns)
Parameters
Returns
HideColumns(IConfig, params string[])
public static ManualConfig HideColumns(this IConfig config, params string[] columnNames)
Parameters
Returns
KeepBenchmarkFiles(IConfig, bool)
determines if all auto-generated files should be kept or removed after running the benchmarks
public static IConfig KeepBenchmarkFiles(this IConfig config, bool value = true)
Parameters
Returns
StopOnFirstError(IConfig, bool)
determines if benchmarking should be stopped after the first error (by default it's not)
public static IConfig StopOnFirstError(this IConfig config, bool value = true)
Parameters
Returns
WithArtifactsPath(IConfig, string)
public static ManualConfig WithArtifactsPath(this IConfig config, string artifactsPath)
Parameters
Returns
WithCultureInfo(IConfig, CultureInfo)
public static ManualConfig WithCultureInfo(this IConfig config, CultureInfo cultureInfo)
Parameters
config
IConfigcultureInfo
CultureInfo
Returns
WithOption(IConfig, ConfigOptions, bool)
sets given option to provided value
public static ManualConfig WithOption(this IConfig config, ConfigOptions option, bool value)
Parameters
config
IConfigoption
ConfigOptionsvalue
bool
Returns
WithOptions(IConfig, ConfigOptions)
sets given options for the config
public static ManualConfig WithOptions(this IConfig config, ConfigOptions options)
Parameters
config
IConfigoptions
ConfigOptions
Returns
WithOrderer(IConfig, IOrderer)
public static ManualConfig WithOrderer(this IConfig config, IOrderer orderer)
Parameters
Returns
WithSummaryStyle(IConfig, SummaryStyle)
public static ManualConfig WithSummaryStyle(this IConfig config, SummaryStyle summaryStyle)
Parameters
config
IConfigsummaryStyle
SummaryStyle
Returns
WithUnionRule(IConfig, ConfigUnionRule)
public static ManualConfig WithUnionRule(this IConfig config, ConfigUnionRule unionRule)
Parameters
config
IConfigunionRule
ConfigUnionRule