henrykuijpers commented on PR #20: URL: https://github.com/apache/sling-org-apache-sling-testing-sling-mock-oak/pull/20#issuecomment-7128369282
Good catch, thanks! Fixed in da4d7f9: async lanes are now only collected from `type=lucene` index definitions, so the default `/oak:index/counter` no longer triggers an extra index update per commit, and the counter index data isn't populated anymore. Added a test with only the default counter index definition, which verifies that no async lane is selected. I re-measured with the real `OakMockSlingRepository` (median ms, 15 rounds after 5 warm-up rounds): | variant | 200 small commits | 1 bulk commit (6k nodes) | 300 property updates | counter index data | |---|---|---|---|---| | master | 60.4 | 67.5 | 36.4 | no | | no oak-lucene | 58.5 | 66.6 | 35.7 | no | | oak-lucene, before fix | 62.7 | 72.0 | 40.2 | yes | | oak-lucene, with fix | 58.0 | 65.6 | 37.3 | no | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
