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

Re: header_cache broken in cvs



Hi,

On Sat, Mar 11, 2006 at 10:22:30PM -0500, Aron Griffis wrote:
> It appears that mutt header caching, at least with imap, is broken in
> current cvs.
> 
> Timing mutt-1.5.11 vs. mutt-cvs:
> 
>     $ time mutt-1.5.11-r1 -e 'exec quit'
>     real    0m5.434s
>     user    0m0.128s
>     sys     0m0.036s
> 
>     $ time mutt -e 'exec quit'
>     real    0m31.570s   <<< clearly not taking advantage of cache
>     user    0m0.256s
>     sys     0m0.060s
> 
> These are using separate cache directories, which contain the
> following:
> 
>     1.4M .mutt/header_cache/9617a9ead398b456b4311e41bb77fc24
>     2.0M .mutt-cvs/header_cache/9617a9ead398b456b4311e41bb77fc24
> 
> I've testing using both gdbm and qdbm, it doesn't seem to make
> a difference.  Is anybody else seeing this?
> 
> Aron

perhaphs you experience the same problem that I observed with header_cache
after upgrading. I worked around it by setting imap_cachedir, but I never
really understood why this became necessary. See the thread with subject
"recent header-cache changes?" on the mutt-users list and Brendan's input
after I took it to mutt-dev (around February 8, 2006).

HTH

Christoph

-- 
FH Worms - University of Applied Sciences
Fachbereich Informatik / Telekommunikation
Erenburgerstr. 19, 67549 Worms, Germany