geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wireba...@apache.org
Subject [geode-benchmarks] branch develop updated: GEODE-6163: fix the argument handling in the benchmark run analyzer (#18)
Date Fri, 07 Dec 2018 18:48:37 GMT
This is an automated email from the ASF dual-hosted git repository.

wirebaron pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/develop by this push:
     new c34cb98  GEODE-6163: fix the argument handling in the benchmark run analyzer (#18)
c34cb98 is described below

commit c34cb981ea00142c95929d57b64492f5dc1de63d
Author: Brian Rowe <browe@pivotal.io>
AuthorDate: Fri Dec 7 10:48:33 2018 -0800

    GEODE-6163: fix the argument handling in the benchmark run analyzer (#18)
---
 .../src/main/java/org/apache/geode/perftest/analysis/Analyzer.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java b/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java
index aa2c47a..5e288f1 100644
--- a/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java
+++ b/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java
@@ -32,8 +32,8 @@ public class Analyzer {
       return;
     }
 
-    String testResultArg = args[0];
-    String baselineResultArg = args[1];
+    String baselineResultArg = args[0];
+    String testResultArg = args[1];
 
     File testResultDir = new File(testResultArg);
     File baselineResultDir = new File(baselineResultArg);
@@ -61,7 +61,7 @@ public class Analyzer {
     analyzer.addProbe(new YardstickPercentileSensorParser());
     analyzer.addProbe(new YardstickHdrHistogramParser());
 
-    analyzer.analyzeTestRun(testResultDir, baselineResultDir)
+    analyzer.analyzeTestRun(baselineResultDir, testResultDir)
         .writeResult(new PrintWriter(System.out));
   }
 }


Mime
View raw message