[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP profiling/performance
On Wed, Jan 03, 2001 at 05:01:28PM -0500, Ben Collins wrote:
>
> Note how many times these functions are called. This is mainly from
> str2entry(), which is itself called by id2entry_rw(), and that is called
> by ldbm_back_search(). Now, ldbm_back_search() is called only once in
> this scenario, while id2entry_rw() and thus str2entry(), are called
> 11124 times by ldbm_back_search().
>
Note, I went back and checked, and the number of entries I have is
exactly 11124. Which means ldbm_back_search() is calling str2entry for
each and every entry in the db.
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'