jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-2726) Make collecting group membership information lazy
Date Thu, 26 Aug 2010 10:33:53 GMT

    [ https://issues.apache.org/jira/browse/JCR-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902811#action_12902811
] 

Michael Dürig commented on JCR-2726:
------------------------------------

Here are some performance measurement from the GroupGetMembersTest added with JCR-2727. 

Collecting group membership eagerly (i.e. before revision 989102):
# GroupGetMembersTest                    avg     std     min     max   count
2.2-btree-usermanager-repository          43      11      38     196    1167
2.2-default-usermanager-repository        26       3      24      74    1900

Collecting group membership lazily (i.e. after revision 989102):
# GroupGetMembersTest                   avg      std     min     max   count
2.2-btree-usermanager-repository         19        2      16      49    2692
2.2-default-usermanager-repository       13        3      11      86    3801


> Make collecting group membership information lazy
> -------------------------------------------------
>
>                 Key: JCR-2726
>                 URL: https://issues.apache.org/jira/browse/JCR-2726
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-jcr-commons
>    Affects Versions: 2.2.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.2.0
>
>
> JCR-2710 added a more scalable content model for storing group membership information.
To further leverage the new model it would be preferable when group membership collecting
where lazy. (i.e. Group#getDeclaredMembers() and Group#getMembers() should not construct the
list of all members up front). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message