Skip to content

Commit

Permalink
modify performance script typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhg committed Jul 28, 2017
1 parent 330b154 commit 2c4e591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/PerfAnalysis.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#
Name: PerfAnalysis.ps1
Usage: -Workspace [workspace] -TestType Component|Service -Threshold [Percentage] -Judgement [Percentage] -BuildId [Num] -RunnerParams [XunitRunnerParams]
Usage: -Workspace [workspace] -TestType Component|Service -Threshold [Percentage] -BuildId [Num] -RunnerParams [XunitRunnerParams]
CopyRight: Copyright (C) Microsoft Corporation. All rights reserved.
#>

Expand Down Expand Up @@ -86,7 +86,7 @@ Function AnalysisTestResult

$itemResult = "Pass"
[decimal]$percentage = ( $delta / [decimal]$baseMean ) * 100;
If ($percentage -gt [decimal]$judgement)
If ($percentage -gt [decimal]$threshold)
{
$exitResult = $False # It's for global
$itemResult = "Fail"
Expand Down

0 comments on commit 2c4e591

Please sign in to comment.