<<< Date Index >>>     <<< Thread Index >>>

Re: Resyncing a 40k folder generates 380k mail_addr_is_user calls for 5mn (try 3)



On 2007-03-27 23:50:37 -0700, Marc MERLIN wrote:

> So, that's almost 10 mail_addr_is_user per mail in the inbox, and
> each takes almost 0.0008s, which yields 300 seconds for 40,000
> messages.

> First, it looks like mail_addr_is_user is a pretty slow call, but
> it's also weird that it gets called so many times.

The function is called mutt_addr_is_user, btw, and the debug message
just got fixed.

The only thing that I can think of that would apply
mail_addr_is_user that often would be the scoring code, depending on
what kind of rules you've got in your config there.

-- 
Thomas Roessler   <roessler@xxxxxxxxxxxxxxxxxx>