We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac06dd commit 93038e2Copy full SHA for 93038e2
test/Benchmarks/Logs/LogBenchmarks.cs
@@ -72,6 +72,15 @@ public LogBenchmarks()
72
this.loggerWithThreeProcessors = this.loggerFactoryWithThreeProcessor.CreateLogger<LogBenchmarks>();
73
}
74
75
+ [GlobalCleanup]
76
+ public void GlobalCleanup()
77
+ {
78
+ this.loggerFactoryWithNoListener.Dispose();
79
+ this.loggerFactoryWithOneProcessor.Dispose();
80
+ this.loggerFactoryWithTwoProcessor.Dispose();
81
+ this.loggerFactoryWithThreeProcessor.Dispose();
82
+ }
83
+
84
[Benchmark]
85
public void NoListenerStringInterpolation()
86
{
0 commit comments