[Bug 823085] Re: command-not-found uses more resources than necessary
Daniel Fahlgren
823085 at bugs.launchpad.net
Thu Aug 11 07:15:11 UTC 2011
This bug should probably be closed since the change has been merged now
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/823085
Title:
command-not-found uses more resources than necessary
Status in “command-not-found” package in Ubuntu:
New
Bug description:
When CommandNotFound.py calls SourcesList is there a lot of
information parsed that is never used. Attached is a small patch that
will reduce the execution time with ~35-45% depending on hardware.
Tested on an i5-2410M and an Atom 330 with natty 64 bit installed.
I used:
time /usr/lib/command-not-found cab
as a test case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/823085/+subscriptions
More information about the foundations-bugs
mailing list