From issues-return-38684-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Fri Feb 9 15:45:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 477AA180654 for ; Fri, 9 Feb 2018 15:45:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 35AD0160C2E; Fri, 9 Feb 2018 14:45:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7BC4F160C5E for ; Fri, 9 Feb 2018 15:45:04 +0100 (CET) Received: (qmail 23187 invoked by uid 500); 9 Feb 2018 14:45:03 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 23176 invoked by uid 99); 9 Feb 2018 14:45:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2018 14:45:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2A7FFC00E0 for ; Fri, 9 Feb 2018 14:45:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id LTwjM5UFqEGP for ; Fri, 9 Feb 2018 14:45:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 857D15F5B3 for ; Fri, 9 Feb 2018 14:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C4E62E01DB for ; Fri, 9 Feb 2018 14:45:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3FF1124102 for ; Fri, 9 Feb 2018 14:45:00 +0000 (UTC) Date: Fri, 9 Feb 2018 14:45:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-5604) karaf:features-generate-descriptor takes long when faced with complex feature dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-5604?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1635= 8484#comment-16358484 ]=20 ASF GitHub Bot commented on KARAF-5604: --------------------------------------- rovarga opened a new pull request #446: KARAF-5604: Speed up descriptor gen= eration URL: https://github.com/apache/karaf/pull/446 =20 =20 Profiling has turned out two more inefficiencies: - calling log.debug() with a concatenated string -- we end up wasting ti= me constructing the string, which is never logged - aether's DefaultArtifact(String) is extremely slow due to Pattern.comp= ile() it contains =20 ---------------------------------------------------------------- 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. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > karaf:features-generate-descriptor takes long when faced with complex fea= ture 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=C3=A9 > Priority: Major > Fix For: 4.2.0, 4.1.5 > > > Opendaylight's distribution-check jobs generate features which have compl= ex feature dependencies, which exposes scaling issues in karaf:features-gen= erate-descriptor. > [https://github.com/opendaylight/integration-distribution/tree/master/fea= tures/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/fea= tures/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 FileIn= putStreams being generated at a rate of 7K-8Kps =E2=80=93 which are coming = from both feature reading and from artifact resolution. -- This message was sent by Atlassian JIRA (v7.6.3#76005)