[
https://issues.apache.org/jira/browse/ARIES-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Ross updated ARIES-1396:
-----------------------------
Attachment: BigApplicationTest.java
AbstractPerformanceTest.java
Screenshot-Java Monitor - DependencyCalculator.png
DependencyCalculator-before.cpu
DependencyCalculator-after.cpu
> Use capability set when calculating subsystem dependencies.
> -----------------------------------------------------------
>
> Key: ARIES-1396
> URL: https://issues.apache.org/jira/browse/ARIES-1396
> Project: Aries
> Issue Type: Improvement
> Components: Subsystem
> Affects Versions: subsystem-2.0.2
> Reporter: John Ross
> Assignee: John Ross
> Labels: performance
> Attachments: AbstractPerformanceTest.java, BigApplicationTest.java,
> DependencyCalculator-after.cpu, DependencyCalculator-before.cpu,
> Screenshot-Java Monitor - DependencyCalculator.png
>
>
> These measurements use a more beefed up version of the test from ARIES-1394.
> The time it took to install 1 application was measured. The application
> consisted of 300 bundles. 200 of the bundles each exported 50 packages. 100
> of the bundles each imported 50 packages. This gives a total of 5000
> requirements and 10,000 capabilities. 100 of the exporting bundles serve as
> preferred providers.
> Before, calculating dependencies took 6728 ms, or 43.6%. After making use of
> the capability set, it took 2005 ms, or 18.2%.
> Baseline
> Average time across 1 trials: 13841.0 ms
> Average time across 1 trials: 13820.0 ms
> Average time across 1 trials: 13982.0 ms
> Average time across 1 trials: 13599.0 ms
> Average time across 1 trials: 13782.0 ms
> 13804.8
> DependencyCalculator Using Capability Set
> Average time across 1 trials: 9923.0 ms
> Average time across 1 trials: 10247.0 ms
> Average time across 1 trials: 10180.0 ms
> Average time across 1 trials: 10212.0 ms
> Average time across 1 trials: 10442.0 ms
> 10200.8
> A 26.1% overall improvement.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)