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-2727) Add user manager performance tests
Date Thu, 21 Oct 2010 12:50:18 GMT

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

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

Thanks for the patch. However, the semantics of AddGroupMembersTest changed: the intent of
the original test was to measure the performance of adding many users (thousands) to a group.
The changed test measures performance of adding a few users to a group (100). The same applies
to CreateUserTest respectively.

I edited the patch to regain the original semantics while preserving your fixes and ran the
performance tests:

# AddGroupMembersTest                    min     10%     50%     90%     max
2.2-btree-usermanager-repository         146     152     189     259     341
2.2-default-usermanager-repository       789     930    1945    2875    3205

# GroupMemberLookupTest                  min     10%     50%     90%     max
2.2-btree-usermanager-repository         749     755     766     779    1289
2.2-default-usermanager-repository      1176    1179    1203    1257    1310

# CreateUserTest                         min     10%     50%     90%     max
2.2-btree-usermanager-repository        1189    1303    1648    2127    2161
2.2-default-usermanager-repository      1181    1386    1981    2895    3278

# GroupGetMembersTest                    min     10%     50%     90%     max
2.2-btree-usermanager-repository           6       6       7      11      87
2.2-default-usermanager-repository         4       4       5       8      17

I'll commit the edited patch to trunk in a minute.





> Add user manager performance tests 
> -----------------------------------
>
>                 Key: JCR-2727
>                 URL: https://issues.apache.org/jira/browse/JCR-2727
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: test
>    Affects Versions: 2.2.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.2.0
>
>         Attachments: 0001-JCR-2727-Add-user-manager-performance-tests.patch
>
>
> We should add some performance tests for validating JCR-2710 and related. That is we
should measure performance for creating users and groups and adding/removing users to/from
groups. This should be done for both repository configurations: one with the old content model
(group membership in property) and one with the new content model introduced with JCR-2710
(group membership in b-tree like node structure). 

-- 
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