You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Ard Schrijvers (JIRA)" <ji...@apache.org> on 2007/12/02 12:26:43 UTC
[jira] Commented: (JCR-1251) DescendantSelfAxisQuery creates too
many object instances
[ https://issues.apache.org/jira/browse/JCR-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547613 ]
Ard Schrijvers commented on JCR-1251:
-------------------------------------
40% !! That is quite some performance gain, very nice. I did see quite some CPU time in array list calls during DescendantSelfAxis tests (11% or something I saw was spend in the init() only).
+1 obviously!
> DescendantSelfAxisQuery creates too many object instances
> ---------------------------------------------------------
>
> Key: JCR-1251
> URL: https://issues.apache.org/jira/browse/JCR-1251
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core, query
> Reporter: Christoph Kiehl
> Assignee: Christoph Kiehl
> Priority: Minor
> Fix For: 1.4
>
> Attachments: DescendantSelfAxisQuery-patch.txt
>
>
> In DescendantSelfAxisQuery.DescendantSelfAxisScorer.isValid() there is an ArrayList and an Integer instance created on every call. Since this method gets called really often during queries the object creation/gc affects performance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.