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

MemoryNodeStateBuilder inefficient for large child node lists

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • core
    • None

    Description

      OAK-174 leverages the getChildBuilder() method introduced with OAK-170. This revealed a performance issue for large child node list with the MemoryNodeStateBuilder implementation: without additional measures (see below) RootImplTest.largeChildList() is very slow.

      The additional measures I currently implemented consist of counting the overall number of changes to a tree and purge these down to the branch when a certain threshold is reached. See RootImpl.purge(). However, I think this mechanism is too ad-hoc and we should find a more general solution.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: