I profiled your code (0.2.41ubuntu2) and on my computer the bottleneck is this statement: SourcesList()
The slow part of that is that it reads the info files in /usr/share/python-apt/templates/ every time. And the slow part of that is that it tries to translate the descriptions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/598282 Title: command-not-found slow for its task To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/598282/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
