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.
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. 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
I then did:
cat /home/jameinel/
So this is a profile of *only* the initialize_ on_transport_ ex request.