You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "John Ross (JIRA)" <ji...@apache.org> on 2015/08/28 18:33:46 UTC

[jira] [Comment Edited] (ARIES-1359) Performance improvement on the findProviders method in the SystemRepository class

    [ https://issues.apache.org/jira/browse/ARIES-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720179#comment-14720179 ] 

John Ross edited comment on ARIES-1359 at 8/28/15 4:33 PM:
-----------------------------------------------------------

http://svn.apache.org/r1698366

Thanks for the report and patch. We were able to discern a 25% improvement using the idea of caching already processed constituents.


was (Author: jwross@us.ibm.com):
Thanks for the report and patch. We were able to discern a 25% improvement using the idea of caching already processed constituents.

> Performance improvement on the findProviders method in the SystemRepository class
> ---------------------------------------------------------------------------------
>
>                 Key: ARIES-1359
>                 URL: https://issues.apache.org/jira/browse/ARIES-1359
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem
>    Affects Versions: subsystem-core-1.2.0, subsystem-2.0.1
>         Environment: linux windows java
>            Reporter: Bas
>            Assignee: John Ross
>            Priority: Minor
>              Labels: patch, performance
>         Attachments: aries-1359.patch, subsystem-systemrepository-patch.txt
>
>
> Two improvements in the patch
> 1) Application subsystems are not processed by the method because application subsystems do not share capabilities. (I think it works like that but maybe I'm wrongly interpreting the specification)
> 2) All processed constituents are stored in a set and not processed again when encountered in a different subsystem when they are being shared across features. When using 60 features a shared bundle used to be processed 60 times.



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