Jackie-Jiang commented on a change in pull request #6885: URL: https://github.com/apache/incubator-pinot/pull/6885#discussion_r627915336
########## File path: pinot-tools/src/main/java/org/apache/pinot/tools/perf/QueryRunner.java ########## @@ -686,16 +686,16 @@ public static void increasingQPSQueryRunner(PerfBenchmarkDriverConf conf, List<S } 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("Current Target QPS: {}, Time Passed: {}ms, Queries Executed: {}, Exceptions: {}, Average QPS: {}, " - + "Average Broker Time: {}ms, Average Client Time: {}ms.", currentQPS, timePassed, numQueriesExecutedInt, - numExceptions.get(), numQueriesExecutedInt / ((double) timePassed / MILLIS_PER_SECOND), - totalBrokerTime.get() / (double) numQueriesExecutedInt, totalClientTime.get() / (double) numQueriesExecutedInt); + LOGGER.info(querySummary.toString()); Review comment: You might still want to 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