On Wed, Aug 19, 2009 at 6:22 PM, Danek Duvall<danek.duvall at sun.com> wrote: > Jonathan Edwards wrote: > >> (1) Slowness .. (don't get me wrong - it's gotten better) .. [pkg defects >> 1949, 5225, 10706] > > (All search performance bugs.) ?1949 is fixed. ?As for slower than other > packaging systems, yes, we do want to get this faster, but, we may never > get it to the speed of SVr4, mostly because we have a far more structured > search than it does. ?Brock's by no means finished with enhancing search, > but at the moment, it's a low priority.
It's not just search that's slow - most pkg operations feel slow. And SVR4 performance is pretty dire - performance is one of the main criticisms of SVR4 packaging. The code is old and hasn't had much TLC, and there's a fair amount of low hanging fruit. I had some fixes for pkgchk that made it faster than grep in some cases, and not much slower for most, and that supported a much richer search syntax (it got stuck on wondering whether to use shell glob patterns or string REs). Other SVR4 operations could be sped up significantly as well. Are there performance targets for pkg operations? -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
