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

Joel Richard commented on OAK-3153:
-----------------------------------

Then we could just introduce a threshold option which enables the exception 
recording once exceeded. By setting it to 0 the current behaviour could be 
kept. What do you think?

> Make it possible to disable recording of stack trace in SessionStats
> --------------------------------------------------------------------
>
>                 Key: OAK-3153
>                 URL: https://issues.apache.org/jira/browse/OAK-3153
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.3.3
>            Reporter: Joel Richard
>              Labels: performance
>
> For the rendering of some pages we have to create a lot of sessions. Around 
> 9% of the rendering time is spent inside of RepositoryImpl.login. Half of 
> this time is spent creating the exception in SessionStats. Therefore, it 
> would be useful if the recording of the exception could be disabled to 
> improve the performance.



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

Reply via email to