cvs commit: src/usr.sbin/portsnap/portsnap portsnap.sh
cperciva at FreeBSD.org
Tue May 30 00:09:58 PDT 2006
cperciva 2006-05-30 07:08:41 UTC
FreeBSD src repository
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
More information about the cvs-src