karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5604) karaf:features-generate-descriptor takes long when faced with complex feature dependencies
Date Fri, 09 Feb 2018 14:45:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358484#comment-16358484

ASF GitHub Bot commented on KARAF-5604:

rovarga opened a new pull request #446: KARAF-5604: Speed up descriptor generation
URL: https://github.com/apache/karaf/pull/446
   Profiling has turned out two more inefficiencies:
   - calling log.debug() with a concatenated string -- we end up wasting time constructing
the string, which is never logged
   - aether's DefaultArtifact(String) is extremely slow due to Pattern.compile() it contains

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> karaf:features-generate-descriptor takes long when faced with complex feature dependencies
> ------------------------------------------------------------------------------------------
>                 Key: KARAF-5604
>                 URL: https://issues.apache.org/jira/browse/KARAF-5604
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-tooling
>    Affects Versions: 4.1.3
>            Reporter: Robert Varga
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.2.0, 4.1.5
> Opendaylight's distribution-check jobs generate features which have complex feature dependencies,
which exposes scaling issues in karaf:features-generate-descriptor.
> [https://github.com/opendaylight/integration-distribution/tree/master/features/singles/odl-integration-all]
takes ~270 seconds to generate:
> real 4m28.834s
> user 3m40.287s
> sys 1m23.629s
> [https://github.com/opendaylight/integration-distribution/tree/master/features/repos/index]
takes ~638 seconds to generate:
> real 10m38.859s
> user 7m55.004s
> sys 3m17.269s
> Running profiling shows that this time is dominated by short-lived FileInputStreams being
generated at a rate of 7K-8Kps – which are coming from both feature reading and from artifact

This message was sent by Atlassian JIRA

View raw message