Re: Re: portage performance

Bart Alewijnse <[email protected]>
Newsgroups gmane.linux.gentoo.performance
Message-ID <[email protected]>
I'm not sure whether I posted this here or only to who I thought was
the package maintainer, but I noticed that qpkg -q was slow, and that
most of it is in something like "sed -e s: :\n:" (I'm not sure what it
was exactly, I changed it on both my computers), which can also be
written as "tr ' ' '\n'", changing the runtime from ten+ minutes to
three seconds on my old celeron 400 (after it caches filesystem
metadata for the find, 'course).

Tiny li'l difference -- just a thought about a small fix to portage:)
Also, perhaps someone looking around the code a little more might
help. I'm sure -s, and especially -S, needn't be as slow as it is,
assuming portage won't change from its current filsystem setup. I'm
wondering - are there any plans to change that?

--Bart Alewijnse

--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.