Comment 1 for bug 740759

Revision history for this message
John A Meinel (jameinel) wrote :

Attaching a callgrind of the lp-serve process. Did a bit of hacking to execute it manually on my test VM, which is currently terribly memory constrained. So don't take this as 100% accurate, but it at least gives us something to look at.

To do this, I hacked bzr so that I could get the contents of the HPSS request, and then checked the launchpad_dev db to find out my user id.
I then did:
cat /home/jameinel/request.txt | BZR_PLUGIN_PATH=bzrplugins ./bin/py eggs/bzr-2.2.2_lp_2-py2.6-linux-i686.egg/EGG-INFO/scripts/bzr lp-serve --inet 243652 --lsprof-file create-branch.callgrind

So this is a profile of *only* the initialize_on_transport_ex request.