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 2021/02/26 11:11:19 UTC

[GitHub] [pulsar] lhotari removed a comment on pull request #9735: [Metrics] Reduce CPU consumption of metrics creation

lhotari removed a comment on pull request #9735:
URL: https://github.com/apache/pulsar/pull/9735#issuecomment-786567750


   It seems that it would be possible to get rid of the key creation to prevent String allocation, using a similar approach as @rdhabalia used in NamespaceStats: https://github.com/apache/pulsar/blob/cc64889abe94d47f048e2f8e8fb10d6c37e695ec/pulsar-broker/src/main/java/org/apache/pulsar/broker/stats/NamespaceStats.java#L46-L63 .
   
   


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