From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1345C1381F3 for ; Tue, 23 Apr 2013 21:12:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B58C7E0B4C; Tue, 23 Apr 2013 21:12:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2C30E0B49 for ; Tue, 23 Apr 2013 21:12:26 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-195-43.oc.oc.cox.net [98.164.195.43]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id AB50133DD61 for ; Tue, 23 Apr 2013 21:12:25 +0000 (UTC) Message-ID: <5176F938.1070501@gentoo.org> Date: Tue, 23 Apr 2013 14:12:24 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: [OT/NIT] Re: Re: [gentoo-commits] gentoo-x86 commit in profiles: ChangeLog package.mask References: <20130419091632.D01152171D@flycatcher.gentoo.org> <20130419153043.30ffc50c@portable> <20130421170549.41cfea49@portable> <20130422154033.65a68a40@portable> <20130423222753.3854fe4d@TOMWIJ-GENTOO> In-Reply-To: <20130423222753.3854fe4d@TOMWIJ-GENTOO> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: e2b4141c-87f5-4d77-b1ad-5521b19d96ed X-Archives-Hash: 2e5f7b573cb579212ae5cb02510d2ce1 On 04/23/2013 01:27 PM, Tom Wijsman wrote: > Maybe the question is rather why `repoman` takes 15 seconds on a quite > fast system in a package folder that contains 2 ebuilds and 1 metadata. > > See the call graph for repoman at http://i.imgur.com/OQTUBdR.png. > > A third of the time, ~5 seconds, are spent on 60,000 - 70,000 calls to > the function that is listed in the bottom; but the ebuilds barely > list any dependencies. Why are there so much calls to this? There's lots of redundant repetition involved in repoman's iteration over the profiles listed in profiles.desc. It may be possible to optimize away the redundancy by taking advantage of all the things that each of the profiles have in common. -- Thanks, Zac