package cupt libcupt-perl
reassign 547950 libcupt-perl
retitle 547950 libcupt-perl: parsing version entries is slow
severity 547950 wishlist
thanks

Patrick Schoenfeld wrote:
> Hi,
> 
> On Tue, Sep 22, 2009 at 09:47:53PM +0300, Eugene V. Lyubimkin wrote:
>>> cupt search vim  12.48s user 0.27s system 100% cpu 12.672 total
>> About 70-80% of this time is parsing version entries,
> 
> I haven't looked into the code. Anything you can do to
> reduce the time spent in parsing version entries?
I profiled it multiple times and see no significant improvement abilities for
now. Patches to speeding up would be highly welcome.

>> They are both based on libapt-pkg, which have pre-built version info binary
>> cache. It makes great speedup for most cache queries, but also leads to
>> obscure bugs seldom OTOH. So I am not going to implement it.
> 
> Interesting. I don't know much about the internals of apt,
> so I cannot say if you are wrong or right. But I think that
> in the long term cupt should perform similar to apt-get/aptitude
> if it shall reach broader acceptance. Performance is actually
> something quiet a lot of people are concerned about in aptitude
> so it won't make it easier for cupt, if it even performs worse.
Right. However, doing things thoroughly (which how cupt tries to perform)
would always run longer than just doing things, plus some (but not big)
overhead from the language.

> Well, closing a bug should never be an option. Even if its just about
> performance. So make it wishlist and keep it open until you've got
> an idea (and interest) how to solve it.
Ok.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to