Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5853

Potential expensive call to NodeState.getChildNodeCount() in constructor of Template

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • segment-tar

    Description

      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.

      Attachments

        1. OAK_5853.patch
          2 kB
          Michael Dürig

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: