[
https://issues.apache.org/jira/browse/SLING-12222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805106#comment-17805106
]
Julian Reschke commented on SLING-12222:
----------------------------------------
sample output from PR'd resolver:
{noformat}
09.01.2024 17:47:51.581 *INFO* [ResourceResolverFactory registration]
org.apache.sling.resourceresolver.impl.mapping.MapEntries alias initialization
- end, processed 134066 resources with sling:alias properties in 34040ms (~3938
resource/s)
09.01.2024 17:47:51.654 *INFO* [VanityPathInitializer]
org.apache.sling.resourceresolver.impl.mapping.MapEntries vanity path
initialization - end, processed 47 resources with sling:vanityPath properties
in 43ms (~1083 resource/s)
{noformat}
> MapEntries: Display the total number of loaded vanity urls / alias when
> loading is completed
> --------------------------------------------------------------------------------------------
>
> Key: SLING-12222
> URL: https://issues.apache.org/jira/browse/SLING-12222
> Project: Sling
> Issue Type: Task
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.11.4
> Reporter: Joerg Hoh
> Assignee: Julian Reschke
> Priority: Minor
>
> Right now the completion of the loading process of vanity urls is logged like
> this:
> {noformat}
> org.apache.sling.resourceresolver.impl.mapping.MapEntries vanity path
> initialization - end, elapsed 459889ms
> {noformat}
> It would be nice, if the total number of vanity urls loaded during this
> process is loaded as well; then it's possible to calculate the performance
> ("vanity urls per second") and compare it via multiple instances.
> Would be good to have the same data for the aliases as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)