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 "angela (JIRA)" <ji...@apache.org> on 2014/03/25 14:56:24 UTC

[jira] [Resolved] (OAK-1592) Performance of Session#hasPermission

     [ https://issues.apache.org/jira/browse/OAK-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved OAK-1592.
-------------------------

    Resolution: Fixed

commited rev. 1581325

> Performance of Session#hasPermission
> ------------------------------------
>
>                 Key: OAK-1592
>                 URL: https://issues.apache.org/jira/browse/OAK-1592
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: angela
>            Assignee: angela
>             Fix For: 0.20
>
>         Attachments: ConcurrentHasPermissionTest_20140321_150212.csv, ConcurrentHasPermissionTest_20140321_174520.csv, OAK-1592.patch, OAK-1592_1.patch
>
>
> the benchmarks i added recently for Session#hasPermission show a poor performance of Session#hasPermission compared to regular permission evaluation and jr2.
> i suspect that the most prominent reason for this is the fact that the AccessManager#hasPermission *always* refreshes the underlying permissionprovider even if the session has neither been modified nor refreshed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)