Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Increase ProxyCommand performance, reduce CPU utilization #454
This should fix #420:
I also moved to time.time() for the other performance reasons cited in #420; I'm not sure if this has a meaningful impact on Windows, since I think time.time() has millisecond resolution there, not microsecond.
@lndbrg I'm not actually sure this functionality works on Windows at all, given
referenced this pull request
Dec 16, 2014
Rad. Thanks very much, Jeff. I love having changes merged so quickly. :-)
The select() approach is probably better for throughput too - when you enter a sleep, you're committed for sleeping for that entire duration. The select() timeout lets you wake up before the timeout expires when the system receives new socket data.