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

Marcel Reutegger resolved OAK-4749.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.10

Applied patch to trunk: http://svn.apache.org/r1760304

> 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
>              Labels: observation
>             Fix For: 1.6, 1.5.10
>
>         Attachments: OAK-4749.patch
>
>
> 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)

Reply via email to