jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCR-3122) QueryObjectModelImpl should execute queries as SessionOperation(s)
Date Wed, 19 Oct 2011 14:55:10 GMT

     [ https://issues.apache.org/jira/browse/JCR-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Parvulescu resolved JCR-3122.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.2

Fixed in revision 1186248.
                
> QueryObjectModelImpl should execute queries as SessionOperation(s)
> ------------------------------------------------------------------
>
>                 Key: JCR-3122
>                 URL: https://issues.apache.org/jira/browse/JCR-3122
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Alex Parvulescu
>            Priority: Minor
>             Fix For: 2.3.2
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message