https://bugs.openldap.org/show_bug.cgi?id=10406
--- Comment #2 from Howard Chu hyc@openldap.org --- Created attachment 1092 --> https://bugs.openldap.org/attachment.cgi?id=1092&action=edit Benchmark code
Here's the C source I used. I don't know how comparable it is to your test.