Hi,
I've been experimenting with the scp implementation and noticed it is slower compared to the command line tool scp. In my test, it is 5s to copy with scp, and 15s with SSH.NET. Is this expected? If not, what can I do to improve performance?
Thanks,
Manu
Comments: ** Comment from web user: 4I03F2lod **
I've been experimenting with the scp implementation and noticed it is slower compared to the command line tool scp. In my test, it is 5s to copy with scp, and 15s with SSH.NET. Is this expected? If not, what can I do to improve performance?
Thanks,
Manu
Comments: ** Comment from web user: 4I03F2lod **
My timing is actually wrong with the unmodified SSH.NET it takes by default 33s, and I noticed that most of the time it was stuck in a Thread.Sleep (100) in ScpClient.ReadByte, so I changed this to Thread.Sleep(0) and got the 15s.