Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3122

QueryObjectModelImpl should execute queries as SessionOperation(s)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.2
    • jackrabbit-core
    • None

    Description

      QueryObjectModelImpl doesn't leverage the SessionOperation closure approach (like the QueryImpl does).

      Switching to this style of running a query yields some gains in speed (I ran 50 queries per test):

      • #1. old style (no code change) avg was 14.26 ms
      • #2. new style (as session operation) avg was 12.14 ms
      • #3. new style (as session operation) avg was 6.44 ms
      • #4. new style (as session operation) avg was 6.68 ms
      • #5. old style (no code change) avg was 11.62 ms
      • #6. old style (no code change) avg was 11.66 ms

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: