Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Resource Merger 1.2.8
Description
When I was analysing all read properties, I noticed a recurring pattern with sling:hideChildren and jcr:primaryType and that more than 40% of the read properties are sling:hideChildren. I figured out that sling:hideChildren is read for all parents in MergingResourceProvider.ParentHidingHandler and that the requests are processed 30-35pp faster just by commenting out the constructor code.
Apache Benchmark results with normal ParentHidingHandler:
50% 272
66% 276
75% 278
80% 281
90% 289
95% 301
98% 493
99% 497
Results with commented out ParentHidingHandler constructor:
50% 185
66% 188
75% 191
80% 194
90% 202
95% 210
98% 333
99% 338
Attachments
Attachments
Issue Links
- is related to
-
SLING-4653 [Regression] Merging resource provider is traversing parent hierarchie for finding hide properties
- Closed
-
SLING-4596 Performance: Consider optimizing JcrItemResource#getParent and getChild
- Resolved
-
SLING-4611 Performance: Consider optimizing MergedResource#getParent and getChild
- Closed