On Tue, Nov 17, 2009 at 10:45 PM, Miklos Vajna <[email protected]> wrote:
> On Tue, Nov 17, 2009 at 01:23:52PM +0100, Laszlo Papp <[email protected]>
> wrote:
>> > Did you do a benchmark on how does this slow down searching? I mean
>> > before and after this patch, both with empty I/O cache (see HACKING).
>> >
>> > I like it, as long as it has minor impact on the search time.
>>
>> Yeah, and this is very cheap localdb parsing here, because we need
>> package name and version only, so there is no need to read any local
>> depend/desc/... files.
>
> 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
Best Regards,
Laszlo Papp
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel