You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/19 16:55:10 UTC

[jira] [Resolved] (JCR-3122) QueryObjectModelImpl should execute queries as SessionOperation(s)

     [ 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