[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Testing libsatsolver on Fedora



On Fri, 2009-07-31 at 17:26 +0300, Jussi Lehtola wrote:
> > To test things I've written a small application called "solv" that
> > works like a very tiny package manager. It's available via:
> > 
> > http://software.opensuse.org/search?baseproject=Fedora:11&q=libsatsolver-demo
> 
> Impressive: after the repository data has been downloaded, the
> calculation of the update from Fedora 10 (x86_64) to Fedora 11 takes
> less than two seconds (practically instantaneous!) on an Athlon64 X2
> 4600+.

For a very unscientific comparison, it takes about 1m 40 sec for
yum-3.2.23-3.fc10.noarch (with --disableplugin=*) to do the same.


for yum: $ echo n|time sudo yum --disableplugin=* update

92.13user 6.77system 1:39.82elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+8720outputs (0major+74159minor)pagefaults 0swaps


for solv: $ echo n|time sudo solv update

0.48user 0.05system 0:01.53elapsed 34%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+7633minor)pagefaults 0swaps


so there is a 50x speed difference in favor of solv.
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola fedoraproject org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]