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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2014/09/25 13:19:33 UTC

[jira] [Commented] (OAK-2057) Add timing to OrderedIndex

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

Davide Giannella commented on OAK-2057:
---------------------------------------

Committed

* trunk: http://svn.apache.org/r1627503
* 1.0: http://svn.apache.org/r1627511

It's now possible to collect info about the timing by setting
{{debug}} as logging level for the appender
{{org.apache.jackrabbit.oak.stats.StopwatchLogger}}

output example

{noformat}
11:02:34.878 [main] DEBUG o.a.j.oak.stats.StopwatchLogger - org.apache.jackrabbit.oak.plugins.index.property.OrderedPropertyIndexEditor - item added to the index - [foo] 0ms
{noformat}



> Add timing to OrderedIndex
> --------------------------
>
>                 Key: OAK-2057
>                 URL: https://issues.apache.org/jira/browse/OAK-2057
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Davide Giannella
>            Priority: Trivial
>             Fix For: 1.1, 1.0.7
>
>
> Add statistics around the time spent indexing an entry in the OrderedIndex using the {{org.apache.jackrabbit.oak.stats.StopwatchLogger}}.



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