Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Performance regression expiring nnml groups
Date: Thu, 16 Dec 2010 18:52:33 +0100	[thread overview]
Message-ID: <m3d3p18v1a.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <m2tyirxnov.fsf@ohwell.denx.de>

Detlev Zundel <dzu@denx.de> writes:

> Since this upgrade, expiring an article from an nnml group to another
> nnmail group now roughly takes one second per article compared to below
> a second for the whole group as before. 

That has to be the result of this change:

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 121b9f0..9ac822f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+	* nnmail.el (nnmail-expiry-target-group): Say that every expiry target
+	group is the "last", so that the backends like nnfolder actually save
+	their folders.

Hm...  so it's now slow, but actually works as it's supposed to.  I
think the right way to fix this is to add another backend function, like
-request-flush, to make them flush whatever they have stored.  I'll add
that.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




      reply	other threads:[~2010-12-16 17:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  9:20 Detlev Zundel
2010-12-16 17:52 ` Lars Magne Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d3p18v1a.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).