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

Simplify SessionDelegate#getItem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10
    • jcr
    • None

    Description

      The getItem call generates extra existence verification calls for both property and nodes, which also happen in the delegate #create calls.

      The simplification I'm proposing also has some perf gains:

      -- before:
      # ReadDeepTreeTest               min     10%     50%     90%     max       N
      Oak-Tar                          216     224     229     237     297     261
      # ConcurrentReadDeepTreeTest     min     10%     50%     90%     max       N
      Oak-Tar                         2416    2604    2833    3916    5671      20
      
      -- after:
      # ReadDeepTreeTest               min     10%     50%     90%     max       N
      Oak-Tar                          195     199     204     212     280     292
      # ConcurrentReadDeepTreeTest     min     10%     50%     90%     max       N
      Oak-Tar                         1909    1997    2244    2498    2616      27 
      

      Attachments

        1. SessionDelegate.patch
          1 kB
          Alex Deparvu
        2. OAK-1030-v2.patch
          5 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: