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 72f82ac commit bb583d8Copy full SHA for bb583d8
test/Exceptionless.Tests/Plugins/PluginTests.cs
@@ -887,7 +887,7 @@ public void RunBenchmark() {
887
foreach (var report in summary.Reports) {
888
_writer.WriteLine(report.ToString());
889
890
- var benchmarkMedianMilliseconds = report.ResultStatistics.Median / 1000000;
+ var benchmarkMedianMilliseconds = report.ResultStatistics != null ? report.ResultStatistics.Median / 1000000 : 0;
891
_writer.WriteLine(String.Format("{0} - {1:0.00}ms", report.Benchmark.DisplayInfo, benchmarkMedianMilliseconds));
892
}
893
0 commit comments