On Wed, Mar 10, 2004 at 01:26:05PM -0500, Theo Van Dinter wrote: > On Wed, Mar 10, 2004 at 02:22:51AM -0800, Dan Quinlan wrote: > > 1. It seems like we spend a fair bit time figuring out whether tokens > > are magic tokens: > > > > %Time ExclSec CumulS #Calls sec/call Csec/c Name > > 1.80 0.310 0.458 47786 0.0000 0.0000 ::BayesStoreDBM::is_magic_token > > 1.28 0.220 0.196 47786 0.0000 0.0000 ::BayesStoreDBM::get_magic_re > > This is very likely due to backward compatibility (ie: we read v0 and v1 DBs). >
Ok, I'll ask. Anyone for removing backward compatibility for v0/v1 DBs? > > 4. something interesting seen in one run: > > %Time ExclSec CumulS #Calls sec/call Csec/c Name > > 22.0 4.418 7.496 1 4.4179 7.4957 > > ::BayesStoreDBM::calculate_expire_delta > > not surprising. that's expiry pass 1. that's why we do estimation when > possible to skip it. You could set bayes_auto_expire to 0 for your next test. I actually might have found one small speed up in the expiry_due code that could help a little. Michael
