Jackie-Jiang commented on a change in pull request #6885:
URL: https://github.com/apache/incubator-pinot/pull/6885#discussion_r627915394



##########
File path: 
pinot-tools/src/main/java/org/apache/pinot/tools/perf/QueryRunner.java
##########
@@ -542,16 +544,16 @@ public static void 
targetQPSQueryRunner(PerfBenchmarkDriverConf conf, List<Strin
     }
 
     long timePassed = System.currentTimeMillis() - startTime;
-    int numQueriesExecutedInt = numQueriesExecuted.get();
+    QuerySummary querySummary = new QuerySummary(timePassed, 
numQueriesExecuted.get(), numExceptions.get(),
+        totalBrokerTime.get(), totalClientTime.get(), statisticsList);
     
LOGGER.info("--------------------------------------------------------------------------------");
     LOGGER.info("FINAL REPORT:");
-    LOGGER.info("Target QPS: {}, Time Passed: {}ms, Queries Executed: {}, 
Exceptions: {}, Average QPS: {}, "
-            + "Average Broker Time: {}ms, Average Client Time: {}ms.", 
startQPS, timePassed, numQueriesExecutedInt,
-        numExceptions.get(), numQueriesExecutedInt / ((double) timePassed / 
MILLIS_PER_SECOND),
-        totalBrokerTime.get() / (double) numQueriesExecutedInt, 
totalClientTime.get() / (double) numQueriesExecutedInt);
+    LOGGER.info(querySummary.toString());

Review comment:
       Log the target QPS?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to