sftp tests are slow

Martin Pool mbp at sourcefrog.net
Thu Jan 12 08:48:38 GMT 2006


On 10 Jan 2006, Robey Pointer <robey at lag.net> wrote:
> >>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.
> 
> 10 times is hard to believe -- what did you use to test that?

As I understand it, SFTP is fairly well layered above SSH: you can run
it equally well over a plain tcp socket. 

Why can't we run the SFTP tests over an in-process representation of a
plain socket?  Doing negotiation, encryption, etc is not going to prove
anything much useful about whether we're using SFTP in the right way.

I guess some areas, such as authentication, do need to be tested on real
ssh but the majority probably does not.
-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060112/322406db/attachment.pgp 


More information about the bazaar mailing list