You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2025/02/25 13:05:00 UTC

[jira] [Commented] (SLING-12642) Repoinit: Improve privilege retrieval

    [ https://issues.apache.org/jira/browse/SLING-12642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930328#comment-17930328 ] 

Joerg Hoh commented on SLING-12642:
-----------------------------------

I benchmarked it on an AEM as a Cloud Service authoring instance and found that the 450+ repoinit statements now run in 12-13 seconds instead of 17 seconds.

> Repoinit: Improve privilege retrieval
> -------------------------------------
>
>                 Key: SLING-12642
>                 URL: https://issues.apache.org/jira/browse/SLING-12642
>             Project: Sling
>          Issue Type: Task
>          Components: Repoinit
>    Affects Versions: Repoinit JCR 1.1.52
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>             Fix For: Repoinit JCR 1.1.54
>
>
> The implementation should use the PrivilegeCollections to retrieve multiple privileges at once instead of reading them one-by-one.
> This will improve the performance of the statements which deal with ACL handling.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)