From owner-freebsd-ports@FreeBSD.ORG Fri Sep 29 22:27:01 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1956C16A403 for ; Fri, 29 Sep 2006 22:27:01 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9314443D45 for ; Fri, 29 Sep 2006 22:27:00 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 31BE01144F; Sat, 30 Sep 2006 00:25:19 +0200 (CEST) Date: Sat, 30 Sep 2006 00:25:19 +0200 From: Thierry Thomas To: ports@freebsd.org Message-ID: <20060929222519.GB63185@graf.pompo.net> Mail-Followup-To: ports@freebsd.org References: <20060929172122.GA80952@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <20060929172122.GA80952@lpthe.jussieu.fr> User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.1-STABLE i386 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xC71405A2 Cc: Subject: Re: Yet another INDEX builder. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 22:27:01 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Le Ven 29 sep 06 =E0 19:21:22 +0200, Michel Talon =E9crivait=A0: > Hello, Hi, > i have written yet another index builder in python, which can be found he= re: > http://www.lpthe.jussieu.fr/~talon/build_index.py > I think it works relatively well and fast, and can provide building block= s for > doing a package updater alternative to portupgrade. Of course, like the > documentation, it is completely free. I would be happy if some people cou= ld > test it on a real biproc machine, or a machine with fast disks, to see the > timings (*) one gets. On my machine, a P4 3Ghz, oldish, it takes 23 minut= es to > complete building the INDEX, but the python script doesn't run more than 1 > minute. Everything else is IO, i think. So one cannot expect any performa= nce It took longer on my P4 3.6GHz: The tree (15689ports) takes 2789.84287214 seconds to explore. Now computing the recursively extended dependencies. Took 3.02815794945 seconds. Now converting to packages and sorting. Last phase takes 4.7659368515 seconds. Total time spent: 2800.94901609 seconds. python build_index.py 3024,42s user 2050,37s system 181% cpu 46:41,64 total Remarks: - this is not a benchmark, and I was using the machine in the same time; - I have several local ports or local tweaks which have been reported as "The port xxx/yyy is obsolete". Regards, --=20 Th. Thomas. --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFHZ1Pc95pjMcUBaIRAhQEAJ4mWlgm8I3g/ahZDij9CCwx6g7rQACgnokl xoUliW+4JEnuRu5Ka/qEUPc= =1iJJ -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--