directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Delete performances stats
Date Fri, 21 May 2010 19:59:50 GMT
Hi guys,

I did some test after having added some timing in the backend. Here is 
the average time taken for every single operations done on the backend :

getting the entry ID : 6.7 micro seconds average
getting the child count : 8.12 micro seconds average
dropping the OC index : 104.59 micro seconds average
dropping the RDN index : 41.31 micro seconds average
dropping the oneLevel 87.64 index : micro seconds average
dropping the subLevelindex : 66.84 micro seconds average
dropping the entryCSN index : 39.48 micro seconds average
dropping the entryUUID index : 80.61 micro seconds average
dropping the parent oneLevel index : 9.96 micro seconds average
dropping the cn index : 110.24 micro seconds average
dropping the cn presence index : 62.12 micro seconds average
dropping the sn index : 104.63 micro seconds average
dropping the sn presence index : 57.96 micro seconds average
dropping the master : 10.06 micro seconds average
sync : 2450.65 micro seconds average
gobal time : 4553.5

We can see that the sync() represent 54% of the global time, the other 
index updates take only 18% of the global time.

No need to focus on index updates then : get the sync faster would be a 
better use of our energy.








-- 

Regards,
Cordialement,
Emmanuel L├ęcharny
www.nextury.com



Mime
View raw message