ldapproxy.py uses ldaptor to create a proxy around our test LDAP server, which can introduce artificial latency. ldaptor is powered by the twisted framework for async Python programming. twisted uses an underlying async implementation for managing file descriptors. On Linux it defaults to epoll. On Windows it defaults to select.
For improved throughput, we should switch over to IOCP on Windows.