Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 716C29A31 for ; Fri, 5 Oct 2012 23:42:40 +0000 (UTC) Received: (qmail 98053 invoked by uid 500); 5 Oct 2012 23:42:40 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 98011 invoked by uid 500); 5 Oct 2012 23:42:40 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 98001 invoked by uid 99); 5 Oct 2012 23:42:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 23:42:40 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of nsankaran@ebay.com) Received: from [216.33.244.7] (HELO rhv-mipot-002.corp.ebay.com) (216.33.244.7) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 23:42:31 +0000 DomainKey-Signature: s=corp; d=ebay.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:From:To: Subject:Thread-Topic:Thread-Index:Date:Message-ID: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:x-originating-ip:Content-Type: MIME-Version:X-CFilter-Loop; b=fsJ0FwDLEWlOcg6HkhzkxPbTetvBLCYuPJRUYzCbolLOhZ+bocDR4b5A 3MdZAIA0rw/EjwrI2a3tDE7uoG4yxvB7cVV95UCkjY6nlCQGUuD+u8SXD whrnEi56ie25yAA; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ebay.com; i=nsankaran@ebay.com; q=dns/txt; s=corp; t=1349480552; x=1381016552; h=from:to:subject:date:message-id:mime-version; bh=7tcQXGDuDhsjcUjtJptRUMlLtG2yc88vORgiTcZpw6s=; b=q90wEDzHZ6DD43zH56dCncKPHD5i4NA/l3EYtDwMPw/7+ajPBUzs09o3 Yt+ZGYmuT4qllr4qotbuqBvbFCumaxxbz4Rpt+yba/OKE5pO+07q104sy PP0G/C6topsYPvH; X-EBay-Corp: Yes X-IronPort-AV: E=Sophos;i="4.80,541,1344236400"; d="scan'208,217";a="84178822" Received: from rhv-mexcs-001.corp.ebay.com (HELO RHV-EXMHT-006.corp.ebay.com) ([10.112.113.54]) by rhv-mipot-002.corp.ebay.com with ESMTP; 05 Oct 2012 16:42:08 -0700 Received: from RHV-EXRDA-S11.corp.ebay.com ([fe80::edc0:9413:d700:64f]) by RHV-EXMHT-006.corp.ebay.com ([fe80::35ea:75f7:a95d:3f89%16]) with mapi id 14.02.0318.001; Fri, 5 Oct 2012 16:42:06 -0700 From: "Sankaran, Nambi" To: "dev@felix.apache.org" Subject: bundle plugin performance issue Thread-Topic: bundle plugin performance issue Thread-Index: Ac2jUU+GqBYWZaLMQweEv49zVYgvWA== Date: Fri, 5 Oct 2012 23:42:05 +0000 Message-ID: <6A1D99A77AC2F24CA6361492DE0BA13016E564@RHV-EXRDA-S11.corp.ebay.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.245.27.242] Content-Type: multipart/alternative; boundary="_000_6A1D99A77AC2F24CA6361492DE0BA13016E564RHVEXRDAS11corpeb_" MIME-Version: 1.0 X-CFilter-Loop: Reflected --_000_6A1D99A77AC2F24CA6361492DE0BA13016E564RHVEXRDAS11corpeb_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi We are using maven-bundle-plugin for generating OSGI Manifests. Apart from compilation, bundle-plugin takes most amount of time during buil= d. In some projects it takes more than 3 seconds to generate Manifest. In a multi-module project Manifest generation takes more 30 seconds. I'm interested in improving the bundle-plugin performance. I checked out the code and did basic analysis. Here is what I found. ( Please correct me if I am wrong ) [1] total time taken by the plugin 3000 ms [2] Analyzer.analyse() takes 1800+ ms [3] Analyzer.analyzeJar() takes 1450+ ms Nearly half of the time is spent in reading and parsing the class files. It is done in a single thread. Is it a good idea to, read and parse the files in parallel, with multiple t= hreads? Is there a better alternative to improve performance? Thanks Nambi --_000_6A1D99A77AC2F24CA6361492DE0BA13016E564RHVEXRDAS11corpeb_--