[
https://issues.apache.org/jira/browse/RATIS-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1748.
-------------------------------
Fix Version/s: 2.4.2
3.0.0
Resolution: Fixed
> 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
> Fix For: 2.4.2, 3.0.0
>
> 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)