[pacman-dev] speed tests + timestamps

Xavier shiningxc at gmail.com
Mon Nov 12 12:57:05 EST 2007


On Mon, Nov 12, 2007 at 12:56:26PM +0100, Nagy Gabor wrote:
> I attached some speedtest results; I hope that this is not offtopic
> here. As I see, this is clearly what I predicted (except: ldconfig is
> much faster than I remembered):

Hm, did you try when installing or removing a package with shared libs?

> PS: As I wrote in the subject, analyzing pacman's speed would be much
> easier if debug printed timestamps to log (on request?). What do you
> think about this? If you like it, I will create a patch (~0 effort
> work.)
> 

Does that mean replacing the hour by the time elapsed since pacman start?
That is, just relative instead of absolute values?

> [root at Arch sync]# find -type d | wc -l
> 4139
> 

pacman -Sl ?

> ---testdb (without Aaron's alpm_list speed-up) with empty disk cache---
> [root at Arch ~]# sync; echo 3 > /proc/sys/vm/drop_caches
> [root at Arch ~]# time testdb
> wrong requiredby for esd : sdl_net
> wrong requiredby for python-numeric : pycairo
> wrong requiredby for xorg : xfce-utils
> (grr, what's this?)

Maybe you forgot what your UPGRADERM patch was for? ;)




More information about the pacman-dev mailing list