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