eolivelli commented on a change in pull request #10765:
URL: https://github.com/apache/pulsar/pull/10765#discussion_r644655099



##########
File path: 
pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceConsumer.java
##########
@@ -401,13 +403,15 @@ public static void main(String[] args) throws Exception {
 
             long now = System.nanoTime();
             double elapsed = (now - oldTime) / 1e9;
-            double rate = messagesReceived.sumThenReset() / elapsed;
+            long total = messagesReceived.sumThenReset();

Review comment:
       @lhotari I have retested it and you were right.
   
   I updated the patch.
   
   good catch !




-- 
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:
[email protected]


Reply via email to