Date: Tue, 30 May 2006 07:08:41 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/portsnap/portsnap portsnap.sh Message-ID: <200605300708.k4U78fbe099228@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2006-05-30 07:08:41 UTC
FreeBSD src repository
Modified files:
usr.sbin/portsnap/portsnap portsnap.sh
Log:
Use some features of sh(1) which I didn't know about until today ("read"
can read two variables at once; and suffix pattern deletion) to make the
extract command fork fewer processes.
With the portsnap snapshot and the ports tree in swap-backed memory
disks on my 1.4GHz laptop, this reduces 178800 processes and 195/56/126
seconds of real/user/sys time to 44600 processes and 103/34/60 seconds.
Revision Changes Path
1.25 +2 -5 src/usr.sbin/portsnap/portsnap/portsnap.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605300708.k4U78fbe099228>
