nahguam opened a new pull request, #16771:
URL: https://github.com/apache/pulsar/pull/16771

   AbstractTopic#getBytesOutCounter and AbstractTopic#getMsgOutCounter
   both generate full stats only to pick the single required counter for
   the getters. These can be optimised to perform only the necessary work
   to calculate the counters.
   
   Provided a scoped implementation of the above methods for the single
   counter required for each getter.
   
   (cherry picked from commit 07c46fe9ef42a72de18be3267e70a51bbc883678)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to