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

Marcel Reutegger resolved JCR-4012.
-----------------------------------
    Resolution: Fixed

Went with the second option and added {{recordProducerTime(long, TimeUnit)}}.

Done in trunk: http://svn.apache.org/r1759270

> Include initial cost in stats for observation processing
> --------------------------------------------------------
>
>                 Key: JCR-4012
>                 URL: https://issues.apache.org/jira/browse/JCR-4012
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>              Labels: observation
>             Fix For: 2.13.3
>
>
> Initial producer cost is currently not reflected in the eventProducerTime 
> TimeSeries. The {{ListenerTracker}} only gets {{EventIterator}} instances 
> passed that contain at least one element. For some implementations (like Oak) 
> the initial step to assure at least one element can be a significant cost and 
> is currently not reflected in the producer time.



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

Reply via email to