https://bugs.openldap.org/show_bug.cgi?id=9769
rouzier@gmail.com rouzier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #860 is|0 |1 obsolete| |
--- Comment #7 from rouzier@gmail.com rouzier@gmail.com --- Created attachment 863 --> https://bugs.openldap.org/attachment.cgi?id=863&action=edit Updated benchmark
It looks like on my setup it is about twice as fast.
The following is the output of bench.c
Adding 1000000 values count: A 1000 full scans using cursor_next_batch took 5.93687200 seconds (5936872) count: A 1000 full scans using cursor_next took 13.50153900 seconds (13501539) noop: A 1000 full scans using cursor_next_batch took 6.31800600 seconds (6318006) noop: A 1000 full scans using cursor_next took 13.50907800 seconds (13509078)