You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/09/05 08:20:21 UTC

[jira] [Commented] (OAK-4749) Include initial cost in stats for observation processing

    [ https://issues.apache.org/jira/browse/OAK-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15464422#comment-15464422 ] 

Marcel Reutegger commented on OAK-4749:
---------------------------------------

Created JCR-4012 to make the necessary changes in jackrabbit-jcr-commons {{ListenerTracker}}.

> Include initial cost in stats for observation processing
> --------------------------------------------------------
>
>                 Key: OAK-4749
>                 URL: https://issues.apache.org/jira/browse/OAK-4749
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.6
>
>
> The jackrabbit-jcr-commons {{ListenerTracker}} collects timing for JCR event listeners. It tracks producer (oak internal) and consumer (JCR EventListener) time. The initial producer cost is currently not reflected in these stats, because {{ChangeProcessor}} in oak-jcr does an initial {{hasNext()}} on the {{EventIterator}} outside of the {{ListenerTracker}}. For some listeners this initial producer time may even account for the entire cost when the event filter rejects all changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)