[ 
https://issues.apache.org/jira/browse/RATIS-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze reassigned RATIS-1748:
---------------------------------

    Assignee: Lari Hotari

Thanks a lot for working on this!  Could you also submit a pull request for 
branch-2?

> RatisMetricRegistryImpl.getMetricName could be cached to reduce garbage
> -----------------------------------------------------------------------
>
>                 Key: RATIS-1748
>                 URL: https://issues.apache.org/jira/browse/RATIS-1748
>             Project: Ratis
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Lari Hotari
>            Assignee: Lari Hotari
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In allocation profiling with AsyncProfiler, I can see that 
> RatisMetricRegistryImpl.getMetricName produces unnecessary garbage. It's 
> better to cache the results. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to