using BenchmarkDotNet.Configs; using BenchmarkDotNet.Diagnosers; namespace Umbraco.Tests.Benchmarks.Config { /// /// Configures the benchmark to run with less warmup and a shorter iteration time than the standard benchmark, /// and include memory usage diagnosis. /// public class QuickRunWithMemoryDiagnoserConfigAttribute : QuickRunConfigAttribute { /// /// Initializes a new instance of the class. /// public QuickRunWithMemoryDiagnoserConfigAttribute() { Config.Add(MemoryDiagnoser.Default); } } }