File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
UnityPerformanceBenchmarkReporter Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,10 @@ private double GetAggregatedSampleValue(SampleGroup sampleGroup)
163163 private MeasurementResult DeterminePerformanceResult ( SampleGroupResult sampleGroup , uint sigFig )
164164 {
165165 var measurementResult = MeasurementResult . Neutral ;
166- var positiveThresholdValue = sampleGroup . BaselineValue + ( sampleGroup . BaselineValue + sampleGroup . StandardDeviation ) * sampleGroup . Threshold ;
167- var negativeThresholdValue = sampleGroup . BaselineValue - ( sampleGroup . BaselineValue + sampleGroup . StandardDeviation ) * sampleGroup . Threshold ;
166+ var positiveThresholdValue = sampleGroup . BaselineValue + ( sampleGroup . BaselineValue * sampleGroup . Threshold ) ;
167+ var negativeThresholdValue = sampleGroup . BaselineValue - ( sampleGroup . BaselineValue * sampleGroup . Threshold ) ;
168+ positiveThresholdValue += sampleGroup . StandardDeviation ;
169+ negativeThresholdValue -= sampleGroup . StandardDeviation ;
168170
169171 if ( sampleGroup . IncreaseIsBetter )
170172 {
You can’t perform that action at this time.
0 commit comments