Changes between Version 1 and Version 2 of Ticket #16925, comment 7
- Timestamp:
- 07/05/2011 05:36:48 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16925, comment 7
v1 v2 26 26 phpseclib consistently beats php ssh2 hands down. And there's a fairly wide margin too. 27 27 28 99% of the time the bottle neck in SSH is in how you're uploading data. The values you're using for the window size and the SFTP packet size and what not. And programming in C as opposed to PHP isn't going to change that.28 99% of the time the bottle neck in SSH is in how you're uploading data. The values you're using for the window size, the SFTP packet size, how many write packets you send before reading the read packets, etc. And programming in C as opposed to PHP isn't going to change that. 29 29 30 30 Maybe you're thinking that the bottle neck in PHP is the encryption. Encryption that phpseclib already offloads to mcrypt, if mcrypt is installed. mcrypt being a C extension. And for stuff like diffie-hellman key exchange phpseclib offloads to gmp and then to bcmath if either of those are installed.