A fix was committed for the LDAP backend which markedy improved performance, however LDAP still runs an order of magnitude slower than pure SQL.
For example, on a dual core CPU with 4GB of ram and SSD...
SQL-only: 20.093s
LDAP: 293.231s
According to my system load, neither test suite is limited by my hard drive anymore... both are CPU-bottlenecked as they should be. However, there must be some other performance issue with fakeldap. I would suggest closing this issue and opening a new one to track this new bottleneck.
A fix was committed for the LDAP backend which markedy improved performance, however LDAP still runs an order of magnitude slower than pure SQL.
For example, on a dual core CPU with 4GB of ram and SSD...
SQL-only: 20.093s
LDAP: 293.231s
According to my system load, neither test suite is limited by my hard drive anymore... both are CPU-bottlenecked as they should be. However, there must be some other performance issue with fakeldap. I would suggest closing this issue and opening a new one to track this new bottleneck.