BDN, master branch, OutliersAnalyser.cs
var actual = report.AllMeasurements.Where(m => m.IterationMode == IterationMode.MainTarget).ToArray();
var result = report.AllMeasurements.Where(m => m.IterationMode == IterationMode.Result).ToArray();
var actualOutliers = actual.GetStatistics().Outliers;
the report contains only measurements with m.IterationMode == IterationMode.Result
(dont know why, will investigate and update the issue).
the line
var actualOutliers = actual.GetStatistics().Outliers;
fails with NRE as .GetStatistics() returns null.
I'd never return null from any .GetSomeComplexObject() method. These should either return empty value or be prefixed with Try and marked with [CanBeNull], this issue shows why :)
BDN, master branch, OutliersAnalyser.cs
the report contains only measurements with m.IterationMode == IterationMode.Result
(dont know why, will investigate and update the issue).
the line
fails with NRE as
.GetStatistics()returns null.I'd never return null from any
.GetSomeComplexObject()method. These should either return empty value or be prefixed withTryand marked with[CanBeNull], this issue shows why :)