[RFC][PATCH]
Robert Collins
robertc at robertcollins.net
Mon Jan 9 23:43:26 GMT 2006
On Thu, 2006-01-05 at 11:01 -0600, John Arbash Meinel wrote:
> Oh, and one other thing. For me, the sftp w/ server tests each take
> around 1.5s even if they only do something trivial. I noticed that you
> test adapter runs a function sequentially, so it run
> (test_put(LocalTransport), test_put(SftpTranport), ...).
> If you can make the adapter track resources and instantiate the sftp
> server for all tests rather than recreating it each time, I'll give you
> a +2. :) 10 tests = 15s just spawning the sftp server.
Yes, this is slow. We chatted on IRC about this - its about 10 times
slower than starting openssh... I find it hard to believe that this is
intrinsic to python - I have to regard it as a bug in the stub server.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060110/1616a557/attachment.pgp
More information about the bazaar
mailing list