You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/07/22 16:12:50 UTC
[jira] [Commented] (OAK-924) Optimize namespace lookups
[ https://issues.apache.org/jira/browse/OAK-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715231#comment-13715231 ]
Alex Parvulescu commented on OAK-924:
-------------------------------------
I ran the benchmark to compare the _LoginNSTest_ test (login + ns map) between existing impls but also to compare with the _LoginTest_ test (just login).
{code}
java -Druntime=180 -jar oak-run-*.jar benchmark LoginNSTest LoginTest Oak-Tar Oak-Segment Oak-Default Oak-Mongo Jackrabbit
{code}
||LoginNSTest|| min|| 10%|| 50%|| 90%|| max|| N||
|Jackrabbit| 866| 884| 992| 1169| 2109| 170|
|Oak-Default| 1017| 1047| 1122| 1243| 1528| 159|
|Oak-Mongo| 1077| 1195| 1234| 1336| 1508| 145|
|Oak-Segment| 1672| 1901| 2230| 2368| 2491| 83|
|Oak-Tar| 1386| 1420| 1604| 1690| 2001| 115|
||LoginTest|| min|| 10%|| 50%|| 90%|| max|| N||
|Jackrabbit| 836| 841| 852| 949| 1328| 197|
|Oak-Default| 960| 965| 977| 996| 1493| 183|
|Oak-Mongo| 971| 976| 991| 1010| 1090| 181|
|Oak-Segment| 1365| 1426| 1970| 2174| 2308| 97|
|Oak-Tar| 1388| 1497| 1532| 1641| 1784| 117|
> 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
> Attachments: OAK-924-bench.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 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