You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/11/24 11:55:00 UTC
[jira] [Comment Edited] (JCRVLT-666) improve performance of DefaultWorkspaceFilter.dumpCoverage (Session variant)
[ https://issues.apache.org/jira/browse/JCRVLT-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638263#comment-17638263 ]
Konrad Windszus edited comment on JCRVLT-666 at 11/24/22 11:54 AM:
-------------------------------------------------------------------
Probably calling it for each filter root node individually followed by deduplication is faster. Also one can stop traversing earlier (I am pretty sure if for the same filter rule a parent is not contained, its children can't be either).
was (Author: kwin):
Probably calling it for each filter root node individually followed by deduplication is faster.
> improve performance of DefaultWorkspaceFilter.dumpCoverage (Session variant)
> ----------------------------------------------------------------------------
>
> Key: JCRVLT-666
> URL: https://issues.apache.org/jira/browse/JCRVLT-666
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: vlt
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Major
>
> {{public void dumpCoverage(Session session, ProgressTrackerListener listener, boolean skipJcrContent)}}
> currently finds the closest ancestor node of the roots of all filters, and descends from there.
> This can be expensive when filter roots are siblings in a large folder, because all sibling nodes will be traversed as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)