[pacman-dev] [PATCH] small checkdeps speed-up

Xavier shiningxc at gmail.com
Thu Jan 10 16:32:27 EST 2008


Aaron Griffin wrote:
> I'm curious how significant this speedup is. Do you possibly have
> profiling data?
>

Attaching callgrind files for the pacman -S kde operation.
The inclusive cost of checkdeps is reduced indeed (from 60M to 45M).

But otherwise, by just timing the operation, I couldn't see any 
difference. The preparation of the transaction was always 0.7s.
I used the following command : time echo | sudo pacman -S kde
-------------- next part --------------
A non-text attachment was scrubbed...
Name: callgrind.out.after.gz
Type: application/x-gzip
Size: 33815 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080110/b092bd99/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: callgrind.out.before.gz
Type: application/x-gzip
Size: 33750 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080110/b092bd99/attachment-0001.bin>


More information about the pacman-dev mailing list