[pacman-dev] [PATCH 4/5] makepkg: add soprovides support

Allan McRae allan at archlinux.org
Sat Jan 22 09:04:27 EST 2011


On 22/01/11 22:43, Florian Pritz wrote:
> On 22.01.2011 13:15, Allan McRae wrote:
>> With this, on an upgrade with a soname bump we will get a whole heap of
>> messages like:
>>
>> warning: provider package was selected (readline provides libreadline.so)
>
>> I also noticed the performance hit in satisfying dependencies using
>> provides.
>
> When I tried that in August 2009 it only displayed that message once (at
> least I think it did, but I'm pretty sure)

Ugh... my bad... you have to weird things to your pacman databases get 
this message to appear multiple times.  Moving along...

> and the time to resolve the
> dependencies for ~900 packages with (using -U; all sodeps/provides and
> not just readline iirc) went from 25 secs to 27 secs.
>
> Could you stop the time so we can compare the results?

When installing two packages, changing the depend to a provide takes 
8.7sec compared to 7.9sec.  So about 10%, which is consistent with what 
you got.  I'm a bit surprised it scales so well to a much large number 
of packages and provides.

Allan


More information about the pacman-dev mailing list