directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <m...@stefan-seelmann.de>
Subject Re: Dn/Rdn/Ava refactoring : results
Date Fri, 13 May 2016 17:59:12 GMT
Many thanks Emmanuel, I'm looking forward t see it in trunk :)

On 05/09/2016 12:38 PM, Emmanuel L├ęcharny wrote:
> Hi !
> 
> that's it, I'm done with the refactoring. All tests are now passing
> green, even some that were ignored in trunk (typically things like DN
> with multiple Avas).
> 
> I have ran a small test, parsing various DN with 1 to 4 RDNs on trunks
> and on my branch, here are the results on 10 000 000 iterations each time :
> 
>              trunk             branch
>          Nb secs   DN/s    Nb secs   DN/s     Ratio
> 1 RDN  : 25.787  387,792    8.852  1,129,688  x2.91
> 2 RDNs : 42.046  237,835   13.686    730,674  x3.07
> 3 RDNs : 54.950  181,984   18.376    544,188  x2.99
> 4 RDNs : 71.361  140,133   24.289    411,709  x2.94
> 
> 
> Those benchmarks were conducted with a SchemaManager.
> 
> Bottom line, this is a x3 speed up ! I never expected that... OTIH, that
> means what we were doing was frankly bad :/
> 
> I'll commit the branch, and then work on ApacheDS and Studio to have
> them working well with the branch (all of that will be done in branches
> too).
> 
> I'll come with a list of changes I have done in the APi for you guys to
> review them and provide some feedback.
> 


Mime
View raw message