commit | 567a2c67603e9d337881368e720498e03257992b | [log] [tgz] |
---|---|---|
author | sseifert <sseifert@pro-vision.de> | Thu Dec 21 17:24:29 2017 +0100 |
committer | sseifert <sseifert@pro-vision.de> | Thu Dec 21 17:24:29 2017 +0100 |
tree | 1db285b8a620ec3ab0054890f9d81730fa877804 | |
parent | 93ce62dd9749b54ea0298e8bc0f0a34363602915 [diff] |
performance improvement: avoid endless looping through all references for lookup of dynamic and static-greedy service references and cache the lookups measured with a non-trivial project with 318 mock-based unit tests the improvement was up to 5% on test execution time i'm not sure if it's worth to apply this optimization as the code gets a bit more complex and more prone to threading issues
This module is part of the Apache Sling project.
Mock implementation of selected OSGi APIs.
Documentation: http://sling.apache.org/documentation/development/osgi-mock.html