Re: [Yum-devel] [PATCH] Much faster "_yum_list available". BZ 919852

2013-03-13 Thread Zdenek Pavlas
> ..but it's about 5 times faster. Well, only when it doesn't fall through to the original helper. Last minute changes suck. > if [[ -n "$YUM_CACHEDIR" && "$1 $2" == "list available" ]]; then > ... + return > fi ___ Yum-devel

Re: [Yum-devel] [PATCH] Much faster "_yum_list available". BZ 919852

2013-03-13 Thread Zdenek Pavlas
> > > > On my system, this is about 10-20 times faster (when cached). Oh, my bad. Figured out I hadn't pyxattr installed, so Yum was re-checking metadata on each run. With pyxattr and when disabling everything but fedora+updates, it's a bit less dramatic, but still a factor 5 difference: comple

Re: [Yum-devel] [PATCH] Much faster "_yum_list available". BZ 919852

2013-03-13 Thread Jan Zelený
On 11. 3. 2013 at 10:31:03, Zdenek Pavlas wrote: > > > On my system, this is about 10-20 times faster (when cached). > > > > NAK. > > Not only that but all configuration (like what repos. are enabled, > > > > excludes/versionlock etc.) are ignored, > > Wouldn't consider that strictly a con..