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

Jukka Zitting commented on OAK-1418:
------------------------------------

Given that both {{nanoTime()}} and {{currentTimeMillis()}} can be pretty slow 
on some platforms, I came up with a new {{Clock}} mechanism that allows us to 
delegate the timekeeping work to a background task and thus make the time 
measurements in {{SessionDelegate.perform()}} essentially instantaneous. See 
revision 1575050. The drawback is that the measurement accuracy is at most at 
millisecond level, which makes the collected statistics only useful across 
longer periods of time. Anyway, the result takes us beyond Jackrabbit at least 
on my laptop:

{noformat}
Apache Jackrabbit Oak 0.19-SNAPSHOT
# ReadPropertyTest                 C     min     10%     50%     90%     max    
   N
Jackrabbit                         1       3       4       4       4      70   
14884
Oak-Tar                            1       2       3       3       4      70   
19083
{noformat}

> Read performance regression
> ---------------------------
>
>                 Key: OAK-1418
>                 URL: https://issues.apache.org/jira/browse/OAK-1418
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>         Environment: Oak 0.17-SNAPSHOT
>            Reporter: Marcel Reutegger
>            Assignee: Alex Parvulescu
>             Fix For: 0.19
>
>         Attachments: ReadPropertyTest.png
>
>
> A recent benchmark run of ReadPropertyTest shows a performance regression. 
> The most recent run (206) was executed last night and the previous one (200) 
> is from Feb 6th.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to