karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rovarga <...@git.apache.org>
Subject [GitHub] karaf pull request #366: Speed up repository loading
Date Thu, 14 Sep 2017 11:31:30 GMT
GitHub user rovarga opened a pull request:

    https://github.com/apache/karaf/pull/366

    Speed up repository loading

    toLoad is used as a java.util.Queue, but is backed by an ArrayList,
    which is highly inefficient when large number of items are present.
    
    Turn it into a Queue with ArrayDeque as the implementation, which shaves
    OpenDaylight initial start time from 102 seconds down to under3 seconds.
    
    Signed-off-by: Robert Varga <nite@hq.sk>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rovarga/karaf toload-features

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/366.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #366
    
----
commit 6a40cab21f4f5fa2baf7c28ff7c6b05fe9a4868b
Author: Robert Varga <nite@hq.sk>
Date:   2017-09-14T11:26:07Z

    Speed up repository loading
    
    toLoad is used as a java.util.Queue, but is backed by an ArrayList,
    which is highly inefficient when large number of items are present.
    
    Turn it into a Queue with ArrayDeque as the implementation, which shaves
    OpenDaylight initial start time from 102 seconds down to under3 seconds.
    
    Signed-off-by: Robert Varga <nite@hq.sk>

----


---

Mime
View raw message