Date: Sat, 30 Sep 2006 00:25:19 +0200 From: Thierry Thomas <thierry@FreeBSD.org> To: ports@freebsd.org Subject: Re: Yet another INDEX builder. Message-ID: <20060929222519.GB63185@graf.pompo.net> In-Reply-To: <20060929172122.GA80952@lpthe.jussieu.fr> References: <20060929172122.GA80952@lpthe.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <talon@lpthe.jussieu.fr> =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/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060929222519.GB63185>