Bruce Dubbs wrote:
$ time for file in /tmp/subversion/*; do if [ $file != lost+found ];
then rm -r $file; fi; done
real 0m0.981s
$ time find . -xdev -mindepth 1 ! -name lost+found -delete
real 0m0.501s
Both are too close to be of much value. A test like the one you did
before with Seamonkey where a find-based removal took 20 seconds would
be a better test I think.
Since both builds were fresh, the info for both was cached in memory.
Perhaps the whole issue is just my problem because I build in /tmp. I
could just as easily build in /var/tmp. A quick check show that I have
11785 files in /tmp right now. Probably a bit more than most users. :)
Yeah that doesn't really help either.
--
Gerard Beekmans
/* If Linux doesn't have the solution, you have the wrong problem */
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page