Marcel Reutegger created OAK-11383:
--------------------------------------
Summary: Improve performance of DefaultStatisticsProvider
Key: OAK-11383
URL: https://issues.apache.org/jira/browse/OAK-11383
Project: Jackrabbit Oak
Issue Type: Improvement
Components: core-spi
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
DefaultStatisticsProvider maintains a cache of previously accessed statistics,
but on each lookup tries to get the RepositoryStatistics.Type for the stats
name. This is particularly expensive when the name does not correspond to one
of those well known types. RepositoryStatistics.Type.getType(String) does an
Enum.valueOf() and catches the IllegalArgumentException when there is no such
type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)