On Tue, Nov 17, 2009 at 10:53:17PM +0100, Laszlo Papp <[email protected]> wrote: > > I asked if you have any _numbers_ showing its low impact regarding the > > search time. :) > > echo 3 > /proc/sys/vm/drop_caches > > time pacman -Ss valgrind > frugalware-current/valgrind 3.5.0-1 (devel-extra) > Tools for debugging and profiling Linux programs. > frugalware-current/valkyrie 1.4.0-1 (xapps-extra) > Qt GUI for Valgrind Tools > > real 0m0.780s > user 0m0.410s > sys 0m0.210s > > > time ./src/pacman-g2/.libs/pacman-g2 -Ss valgrind > frugalware-current/valgrind 3.5.0-1 (devel-extra) [installed: 3.5.0-1] > Tools for debugging and profiling Linux programs. > frugalware-current/valkyrie 1.4.0-1 (xapps-extra) > Qt GUI for Valgrind Tools > > real 0m0.715s > user 0m0.453s > sys 0m0.190s
Thanks. So it makes searching about 9% slower. I pick a random machine, I have 586 packages installed, and there are 5234 ones in the -Sl output. So the slowdown changes output only in about 11% of the cases. I dunno, what does the others think? Is this acceptable? The alternate would be to disable this by default, enable only with with (for example) 'pacman-g2 -Ss --installed' and that way there would be no problem with slowing down the search with no output change in most cases.
pgpvzEFP2HVtG.pgp
Description: PGP signature
_______________________________________________ Frugalware-devel mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-devel
