Double checked Python benchmark script
michael at stroeder.com
Wed Jun 25 12:40:38 CEST 2003
Ed . wrote:
> I used to be a C wizard, will check it out later on in my test
I'd very much appreciate that since I'm the opposite of a C wizard.
> This is much simpler but in mine I wanted to test the
> effect of requesting all all versus single attributes and to do random
> lookups. This is good however for initial high level investigations.
Note that with my test script you can specify any search by LDAP URL which
includes specifying certain attributes to read (see RFC2255).
python perf_test.py "ldap://localhost:1390/dc=stroeder,dc=de?cn?sub"
only retrieves attribute 'cn' of all search results.
It also supports the bindname and X-BINDPW LDAP URL extensions:
binds with cn=manager and password 'secret'.
More information about the python-ldap