You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/09 09:03:35 UTC

[GitHub] [pulsar] murong00 opened a new pull request #4245: [pulsar-testclient] Support performance tool to print aggregated throughput

murong00 opened a new pull request #4245: [pulsar-testclient] Support performance tool to print aggregated throughput
URL: https://github.com/apache/pulsar/pull/4245
 
 
   ### Motivation
   
   Some users expect to provide the info of aggregated throughput when doing performance test, this pull request try to print the aggregated throughput when the performance tool shutdown.
   
   ### Modifications
   
   Add a method to print aggregated throughput in `PerformanceProducer` and `PerformanceConsumer`, expected output like below:
   ```
   16:31:17.656 [Thread-1] INFO  org.apache.pulsar.testclient.PerformanceProducer - Aggregated throughput stats --- 10000 records sent --- 92.486 msg/s --- 0.706 Mbit/s
   16:18:46.943 [Thread-1] INFO  org.apache.pulsar.testclient.PerformanceConsumer - Aggregated throughput stats --- 10000 records received --- 46.068 msg/s --- 0.351 Mbit/s
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services