On Saturday, 11 March 2006 at 22:22, 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? Have you removed and repopulated the cvs version of the cache? I think if there's a version mismatch between mutt and the cache, mutt will just silently ignore the cache. Another thing to try is to use a directory for the cache instead of a file. What's your architecture? Maybe a 32-bitism crept in when I added a couple of extra fields to the cache...
Attachment:
pgp1wRvKMB4d6.pgp
Description: PGP signature