Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Gcc to IMAP is slow
Date: Sat, 30 Oct 2010 00:47:07 +0200	[thread overview]
Message-ID: <m31v78sjkk.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <1sr5fek8bu.fsf@voll.uninett.no>

Vegard Vesterheim <vegard.vesterheim@uninett.no> writes:

> In order to preserve threads as much as possible, I Gcc my own messages
> both into the folder I am in, and to the Sent-folder (via
> gnus-outgoing-message-group)). But this is now much slower than before
> the IMAP rewrite. My emacs can get unresponsive for many seconds after I
> have sent a message. The imap log shows that gnus is doing a IMAP SEARCH
> for a Message-Id, which I guess can be slow on large folders:
>
> 09:45:15 920 SELECT "INBOX"
> 09:45:15 921 UID FETCH 1:* FLAGS

This seems unnecessary and probably very slow.  Fixed now.

> 09:45:16 922 APPEND "INBOX" {786}
> 09:45:16 923 UID SEARCH HEADER Message-Id "<1ssjzuk96c.fsf@voll.uninett.no>"

However, this is necessary to mark messages as read if you have
`gnus-gcc-mark-as-read'.  If not, it's probably not very useful, but it
isn't slow on the servers I've tried it on...

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




      parent reply	other threads:[~2010-10-29 22:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25  8:03 Vegard Vesterheim
2010-10-25 17:16 ` Steinar Bang
2010-10-25 21:42   ` Vegard Vesterheim
2010-10-29 22:47 ` 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=m31v78sjkk.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).