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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2017/02/27 15:10:45 UTC
[jira] [Assigned] (OAK-5853) Potential expensive call to
NodeState.getChildNodeCount() in constructor of Template
[ https://issues.apache.org/jira/browse/OAK-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig reassigned OAK-5853:
----------------------------------
Assignee: Michael Dürig
> Potential expensive call to NodeState.getChildNodeCount() in constructor of Template
> ------------------------------------------------------------------------------------
>
> Key: OAK-5853
> URL: https://issues.apache.org/jira/browse/OAK-5853
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Priority: Minor
> Labels: performance
> Fix For: 1.8
>
> Attachments: OAK_5853.patch
>
>
> On of the {{Template}} constructors (the one used when writing templates) performs a call to {{NodeState.getChildNodeCount()}} to determine the value of {{Template.childName}}. I have seen this call comping up in performance traces on various occasions, which leads me to believe there is room for improvement here.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)