[jira] [Resolved] (OAK-2758) Performance: Consider caches for MutableTree#getTree and MemoryNodeBuilder#getChildNode

2016-01-14 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard resolved OAK-2758. --- Resolution: Invalid > Performance: Consider caches for MutableTree#getTree and >

[jira] [Commented] (OAK-3600) Cache property index definitions

2015-11-09 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14996326#comment-14996326 ] Joel Richard commented on OAK-3600: --- [~tmueller], can you please share your thoughts about this? > Cache

[jira] [Created] (OAK-3600) Cache property index definitions

2015-11-09 Thread Joel Richard (JIRA)
Joel Richard created OAK-3600: - Summary: Cache property index definitions Key: OAK-3600 URL: https://issues.apache.org/jira/browse/OAK-3600 Project: Jackrabbit Oak Issue Type: Improvement

[jira] [Created] (OAK-3535) Update jackrabbit version to 2.11.2

2015-10-22 Thread Joel Richard (JIRA)
Joel Richard created OAK-3535: - Summary: Update jackrabbit version to 2.11.2 Key: OAK-3535 URL: https://issues.apache.org/jira/browse/OAK-3535 Project: Jackrabbit Oak Issue Type: Task

[jira] [Commented] (OAK-2679) Query engine: faster cost calculation

2015-09-25 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14907746#comment-14907746 ] Joel Richard commented on OAK-2679: --- [~mmarth], it turned out that it is very hard to implement a cache

[jira] [Created] (OAK-3447) Parallelize recursive usage of compareAgainstBaseState

2015-09-24 Thread Joel Richard (JIRA)
Joel Richard created OAK-3447: - Summary: Parallelize recursive usage of compareAgainstBaseState Key: OAK-3447 URL: https://issues.apache.org/jira/browse/OAK-3447 Project: Jackrabbit Oak Issue

[jira] [Commented] (OAK-1312) Bundle nodes into a document

2015-09-24 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14906328#comment-14906328 ] Joel Richard commented on OAK-1312: --- One approach to decide which nodes should be saved together in a

[jira] [Updated] (OAK-3166) Apply adjustments for newly exported JackrabbitSession#getItemOrNull

2015-09-21 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-3166: -- Fix Version/s: 1.3.7 > Apply adjustments for newly exported JackrabbitSession#getItemOrNull >

[jira] [Created] (OAK-3361) Reduce PerfLogger isDebugEnabled overhead

2015-09-07 Thread Joel Richard (JIRA)
Joel Richard created OAK-3361: - Summary: Reduce PerfLogger isDebugEnabled overhead Key: OAK-3361 URL: https://issues.apache.org/jira/browse/OAK-3361 Project: Jackrabbit Oak Issue Type:

[jira] [Updated] (OAK-3361) Reduce PerfLogger isDebugEnabled overhead

2015-09-07 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-3361: -- Attachment: 0001-OAK-3361-Reduce-PerfLogger-isDebugEnabled-overhead.patch [~chetanm], would you mind

[jira] [Updated] (OAK-2679) Query engine: cache execution plans

2015-08-26 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2679: -- Attachment: 0001-OAK-2679-Reduce-execution-plan-overhead_0.2.patch I have attached an updated version of

[jira] [Updated] (OAK-2679) Query engine: cache execution plans

2015-08-26 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2679: -- Attachment: (was: 0001-OAK-2679-Reduce-execution-plan-overhead.patch) Query engine: cache execution

[jira] [Updated] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-08-25 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-3153: -- Attachment: (was: 0001-OAK-3153-Make-it-possible-to-disable-recording-of-st.patch) Make it possible

[jira] [Updated] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-08-25 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-3153: -- Attachment: 0001-OAK-3153-Make-it-possible-to-disable-recording-of-st.patch Make it possible to disable

[jira] [Updated] (OAK-2679) Query engine: cache execution plans

2015-08-14 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2679: -- Attachment: 0001-OAK-2679-Reduce-execution-plan-overhead.patch Attached patch

[jira] [Comment Edited] (OAK-2679) Query engine: cache execution plans

2015-08-14 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697050#comment-14697050 ] Joel Richard edited comment on OAK-2679 at 8/14/15 2:16 PM:

[jira] [Comment Edited] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-08-10 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14680195#comment-14680195 ] Joel Richard edited comment on OAK-3153 at 8/10/15 2:37 PM:

[jira] [Updated] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-08-10 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-3153: -- Attachment: 0001-OAK-3153-Make-it-possible-to-disable-recording-of-st.patch [~tmueller], I have attached

[jira] [Commented] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-08-04 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14653223#comment-14653223 ] Joel Richard commented on OAK-3153: --- [~tmueller], we could also just use an AtomicInteger

[jira] [Commented] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-08-04 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14653245#comment-14653245 ] Joel Richard commented on OAK-3153: --- Then we could just introduce a threshold option which

[jira] [Commented] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-08-03 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14651538#comment-14651538 ] Joel Richard commented on OAK-3153: --- I have discussed this issue with [~tmueller] and he

[jira] [Comment Edited] (OAK-2679) Query engine: cache execution plans

2015-08-03 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647632#comment-14647632 ] Joel Richard edited comment on OAK-2679 at 8/3/15 6:46 AM: ---

[jira] [Commented] (OAK-2679) Query engine: cache execution plans

2015-08-03 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14651519#comment-14651519 ] Joel Richard commented on OAK-2679: --- Should the execution plan for some query index type

[jira] [Comment Edited] (OAK-2679) Query engine: cache execution plans

2015-08-03 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647632#comment-14647632 ] Joel Richard edited comment on OAK-2679 at 8/3/15 6:48 AM: ---

[jira] [Resolved] (OAK-3154) Improve SimpleNodeAggregator performance with a NodeState cache

2015-08-03 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard resolved OAK-3154. --- Resolution: Won't Fix Improve SimpleNodeAggregator performance with a NodeState cache

[jira] [Commented] (OAK-3154) Improve SimpleNodeAggregator performance with a NodeState cache

2015-08-03 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14651837#comment-14651837 ] Joel Richard commented on OAK-3154: --- The following methods could benefit from a similar

[jira] [Updated] (OAK-2758) Performance: Consider caches for MutableTree#getTree and MemoryNodeBuilder#getChildNode

2015-08-03 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2758: -- Attachment: OAK-2758-SegmentNodeState-lastChildNode-cache.patch

[jira] [Resolved] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-07-30 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard resolved OAK-2707. --- Resolution: Won't Fix Closing because the problem was solved in Sling for the new JcrValueMap and a

[jira] [Commented] (OAK-2679) Query engine: cache execution plans

2015-07-30 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647632#comment-14647632 ] Joel Richard commented on OAK-2679: --- [~mmarth], here are a few numbers about the time

[jira] [Commented] (OAK-3154) Improve SimpleNodeAggregator performance with a NodeState cache

2015-07-30 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647776#comment-14647776 ] Joel Richard commented on OAK-3154: --- I have talked to Alex and this class isn't worth

[jira] [Updated] (OAK-3166) Apply adjustments for newly exported JackrabbitSession#getItemOrNull

2015-07-30 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-3166: -- Summary: Apply adjustments for newly exported JackrabbitSession#getItemOrNull (was: Implement

[jira] [Created] (OAK-3166) Implement adjustments for newly exported JackrabbitSession#getItemOrNull

2015-07-30 Thread Joel Richard (JIRA)
Joel Richard created OAK-3166: - Summary: Implement adjustments for newly exported JackrabbitSession#getItemOrNull Key: OAK-3166 URL: https://issues.apache.org/jira/browse/OAK-3166 Project: Jackrabbit Oak

[jira] [Updated] (OAK-3166) Apply adjustments for newly exported JackrabbitSession#getItemOrNull

2015-07-30 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-3166: -- Attachment: 0001-OAK-3166-Apply-adjustments-for-newly-exported-Jackra.patch Apply adjustments for newly

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-07-29 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14645948#comment-14645948 ] Joel Richard commented on OAK-2707: --- Sling does now cache the namespaces globally for the

[jira] [Commented] (OAK-3154) Improve SimpleNodeAggregator performance with a NodeState cache

2015-07-29 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14646211#comment-14646211 ] Joel Richard commented on OAK-3154: --- [~alex.parvulescu], I was told that this class might

[jira] [Created] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats

2015-07-28 Thread Joel Richard (JIRA)
Joel Richard created OAK-3153: - Summary: 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

[jira] [Created] (OAK-3154) Improve SimpleNodeAggregator performance with a NodeState cache

2015-07-28 Thread Joel Richard (JIRA)
Joel Richard created OAK-3154: - Summary: Improve SimpleNodeAggregator performance with a NodeState cache Key: OAK-3154 URL: https://issues.apache.org/jira/browse/OAK-3154 Project: Jackrabbit Oak

[jira] [Commented] (OAK-2679) Query engine: cache execution plans

2015-06-19 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14593091#comment-14593091 ] Joel Richard commented on OAK-2679: --- [~mmarth], I would expect that the cache size stays

[jira] [Updated] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-06-12 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2707: -- Attachment: OAK-2707.patch [~anchela], in Sling the namespaces are read when you read the first property

[jira] [Updated] (OAK-2758) Performance: Consider caches for MutableTree#getTree and MemoryNodeBuilder#getChildNode

2015-04-13 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2758: -- Attachment: experimental_caches.patch Performance: Consider caches for MutableTree#getTree and

[jira] [Created] (OAK-2758) Performance:

2015-04-13 Thread Joel Richard (JIRA)
Joel Richard created OAK-2758: - Summary: Performance: Key: OAK-2758 URL: https://issues.apache.org/jira/browse/OAK-2758 Project: Jackrabbit Oak Issue Type: Improvement Components:

[jira] [Updated] (OAK-2758) Performance: Consider caches for MutableTree#getTree and MemoryNodeBuilder#getChildNode

2015-04-13 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2758: -- Summary: Performance: Consider caches for MutableTree#getTree and MemoryNodeBuilder#getChildNode (was:

[jira] [Created] (OAK-2724) Export SessionImpl#getItemOrNull in JackrabbitSession

2015-04-07 Thread Joel Richard (JIRA)
Joel Richard created OAK-2724: - Summary: Export SessionImpl#getItemOrNull in JackrabbitSession Key: OAK-2724 URL: https://issues.apache.org/jira/browse/OAK-2724 Project: Jackrabbit Oak Issue

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-04-01 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14390085#comment-14390085 ] Joel Richard commented on OAK-2707: --- [~mduerig], Sling could definitely improve the

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-04-01 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14390099#comment-14390099 ] Joel Richard commented on OAK-2707: --- Most of the time in getNamespacePrefixes is spent in

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-04-01 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14390061#comment-14390061 ] Joel Richard commented on OAK-2707: --- [~anchela], no, I don't have a benchmark for it. The

[jira] [Updated] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2707: -- Attachment: Screen Shot 2015-03-30 at 08.38.58.png Performance: SessionImpl#getNamespacePrefixes should

[jira] [Updated] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2707: -- Description: Sesison#getNamespacePrefixes is heavily used in Sling (see

[jira] [Created] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread Joel Richard (JIRA)
Joel Richard created OAK-2707: - Summary: Performance: SessionImpl#getNamespacePrefixes should be cached Key: OAK-2707 URL: https://issues.apache.org/jira/browse/OAK-2707 Project: Jackrabbit Oak

[jira] [Commented] (OAK-2688) Segment.readString optimization

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14388405#comment-14388405 ] Joel Richard commented on OAK-2688: --- In my sampling profiling sessions about 5-15% of the

[jira] [Updated] (OAK-2679) Query engine: cache execution plans

2015-03-25 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2679: -- Attachment: executionplancache.patch I have attached a patch with some changes to test the impact of a