Ok, turns out the xml parsing isn't to bad after all. I tracked this one
all the way back to:

# get cataloged_times
cataloged_times = {}
CF = "/var/lib/apt-xapian-index/cataloged_times.p"
if os.path.exists(CF):
    try:
        cataloged_times = pickle.load(open(CF))
    except Exception as e:
        LOG.warn("failed to load file %s: %s", CF, e)

Taking 1.4 seconds on my machine. Not sure what can be done to improve
times here probably nothing short of pickle optimisations.

Guess I should move on to tracking down the cause of the remaining 19 or
so seconds it takes my machine to boot. Unless anyone has any more ideas
for this one?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845579

Title:
  software-center terribly slow, ubuntu freezing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/845579/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to