You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/11/22 19:15:00 UTC
[jira] [Resolved] (RATIS-1748) RatisMetricRegistryImpl.getMetricName could be cached to reduce garbage
[ 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)