Closed filzrev closed 2 months ago
Close this issue because it can be resolved by explicitly passing ManualConfig.CreateEmpty()
.
I've noticed that there is WithUnionRule(ConfigUnionRule.AlwaysUseLocal)
settings to skip to appling global configs (DefaultConfig
).
I've created benchmark config by using
ManualConfig
derived class. And using this config with[Config(typeof(CustomConfig))]
attribute.When running benchmarks. It seems config is always merged with
DefaultConfig.Instance
by BenchmarkConverter::GetFullTypeConfig And it causes unintended settings to be used when running benchmarks.Minimum code to reproduce problems
Warnings Following warnings occurred when running above code.
It seems default exporters are configured that are defined by
DefaultConfig
.Temporary workaround This problem can be avoided by explicitly specifying the config or pass config that is created by
ManualConfig.CreateEmpty()
.