You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2012/08/27 22:33:08 UTC
[jira] [Comment Edited] (SLING-2521) Improve performance of
sling:alias lookups and/or provide the ability to disable this feature
[ https://issues.apache.org/jira/browse/SLING-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442694#comment-13442694 ]
Justin Edelson edited comment on SLING-2521 at 8/28/12 7:31 AM:
----------------------------------------------------------------
Perf test results:
<pre>
# ResolveWith1000AliasTest min 10% 50% 90% max
jcr.resource-2.1.0 31 33 40 50 81
# ResolveWith5000AliasTest min 10% 50% 90% max
jcr.resource-2.1.0 230 242 254 275 472
# ResolveWith10000AliasTest min 10% 50% 90% max
jcr.resource-2.1.0 459 459 536 804 804
# ResolveWith1000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 41 43 52 77 132
# ResolveWith5000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 278 279 294 440 459
# ResolveWith10000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 523 523 554 1127 1127
# ResolveWith1000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 (patched) 0 0 0 0 53
# ResolveWith5000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 (patched) 0 0 0 0 15
# ResolveWith10000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 (patched) 0 0 0 0 77
</pre>
was (Author: justinedelson):
Perf test results:
# ResolveWith1000AliasTest min 10% 50% 90% max
jcr.resource-2.1.0 31 33 40 50 81
# ResolveWith5000AliasTest min 10% 50% 90% max
jcr.resource-2.1.0 230 242 254 275 472
# ResolveWith10000AliasTest min 10% 50% 90% max
jcr.resource-2.1.0 459 459 536 804 804
# ResolveWith1000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 41 43 52 77 132
# ResolveWith5000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 278 279 294 440 459
# ResolveWith10000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 523 523 554 1127 1127
# ResolveWith1000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 (patched) 0 0 0 0 53
# ResolveWith5000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 (patched) 0 0 0 0 15
# ResolveWith10000AliasTest min 10% 50% 90% max
jcr.resource-2.2.0 (patched) 0 0 0 0 77
> Improve performance of sling:alias lookups and/or provide the ability to disable this feature
> ---------------------------------------------------------------------------------------------
>
> Key: SLING-2521
> URL: https://issues.apache.org/jira/browse/SLING-2521
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Affects Versions: JCR Resource 2.1.0
> Reporter: Felix Meschberger
> Attachments: disabling-alias-performance.png, SLING-2521.patch
>
>
> The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource.
> It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira