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)
163
163
private MeasurementResult DeterminePerformanceResult ( SampleGroupResult sampleGroup , uint sigFig )
164
164
{
165
165
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 ;
168
170
169
171
if ( sampleGroup . IncreaseIsBetter )
170
172
{
You can’t perform that action at this time.
0 commit comments