[RFC][PATCH]
John A Meinel
john at arbash-meinel.com
Tue Jan 10 02:05:39 GMT 2006
Robert Collins wrote:
> 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
>
Well, that would make it seem to be a paramiko issue.
Robey- have you tried profiling paramiko by itself? It is startup time,
or connection time, or something else?
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060109/ea977d4f/attachment.pgp
More information about the bazaar
mailing list