[ 
https://issues.apache.org/jira/browse/OAK-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791416#comment-13791416
 ] 

Alex Parvulescu commented on OAK-924:
-------------------------------------

I've pushed the patch in with some changes, thanks Jukka for the (offline) 
feedback!

It doesn't look much better, but it's still some work to be done.

I see 2 issues
 - acl eval makes the property reads slow (this is why the perf is not there 
yet)
 - the #init keeps a cache of the initial mapping as maps. Unfortunately 
removing the maps makes the code almost 3.5 times slower.

> Optimize namespace lookups
> --------------------------
>
>                 Key: OAK-924
>                 URL: https://issues.apache.org/jira/browse/OAK-924
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core, jcr
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>              Labels: performance
>         Attachments: OAK-924-bench.patch, OAK-924-v0.patch
>
>
> The current namespace handling code does a lot of repetitive work, which 
> shows up in hotspots like XML imports and Sling's namespace mapping code.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to