[ 
https://issues.apache.org/jira/browse/ARIES-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Ross updated ARIES-1397:
-----------------------------
    Attachment: Screenshot-Java Monitor - PreferredProviderRepository.png
                PreferredProviderRepository-before.cpu
                PreferredProviderRepository-after.cpu
                BigApplicationTest.java
                AbstractPerformanceTest.java

> Use capability set with preferred provider repository.
> ------------------------------------------------------
>
>                 Key: ARIES-1397
>                 URL: https://issues.apache.org/jira/browse/ARIES-1397
>             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, 
> PreferredProviderRepository-after.cpu, 
> PreferredProviderRepository-before.cpu, Screenshot-Java Monitor - 
> PreferredProviderRepository.png
>
>
> These measurements use the same test as in ARIES-1396. 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, finding providers from the preferred provider repository took 3305 
> ms, or 25.0%. After making use of the capability set, it took 948 ms, or 8.6%.
> Baseline
> Average time across 1 trials: 12974.0 ms
> Average time across 1 trials: 12597.0 ms
> Average time across 1 trials: 12760.0 ms
> Average time across 1 trials: 12573.0 ms
> Average time across 1 trials: 12339.0 ms
> 12648.6
> Preferred Provider Repository Using Capability Set
> Average time across 1 trials: 10917.0 ms
> Average time across 1 trials: 10562.0 ms
> Average time across 1 trials: 10743.0 ms
> Average time across 1 trials: 10718.0 ms
> Average time across 1 trials: 10471.0 ms
> 10682.2
> A 15.6% improvement.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to