Gnus development mailing list
 help / color / mirror / Atom feed
From: Romain Francoise <romain@orebokech.com>
Subject: Re: Gnus slow?
Date: Fri, 12 Nov 2004 09:20:17 +0100	[thread overview]
Message-ID: <87u0rv8on2.fsf@orebokech.com> (raw)
In-Reply-To: <b9y8y97msqv.fsf@jpl.org> (Katsumi Yamaoka's message of "Fri, 12 Nov 2004 16:27:52 +0900")

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> I don't know why gnus-activate-group spends so many time and
> seems to be called twice in B, but it is dominant.

It is slow because in version B, Gnus issues GROUP commands to the NNTP
server and it is synchronous so it has to wait for the answer from the
server.  To make it worse, it does it twice since groups are activated
twice.

You will find captures of the NNTP conversation between Gnus and
news.gmane.org here: <URL: http://orebokech.com/tmp/gnus/>.  Version A
issues LIST ACTIVE commands only, asynchronously.  Version B first
issues GROUP commands for each of my groups, synchronously, then issues
LIST ACTIVE commands like version A, then does GROUP commands again.  I
see two separate issues:
- why does version B send GROUP commands where version A doesn't?  They
  seem unnecessary.
- even so, why does version B send them twice?

> Some gnus-* functions are inlined in it and they cannot be
> profiled by ELP individually.  So, you need to plunge a scalpel
> into those adhesion.  To do that, replace all the
> `(inline (gnus-* ...))' forms into `(gnus-* ...)' in the
> gnus-activate-group function and recompile gnus-start.el.
> Otherwise, it may be enough to only evaluate the function
> definition of gnus-activate-group using `M-x eval-region' or
> `M-x eval-last-sexp' (`C-x C-e').

> And then, perform ELP to the `gnus' package again.

I will perform more ELP tests later today, thanks for investigating this
issue.

-- 
Romain Francoise <romain@orebokech.com> | There's no stronger wind than
it's a miracle -- http://orebokech.com/ | the one that blows down a
                                        | lonesome railroad line.



  reply	other threads:[~2004-11-12  8:20 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-10 12:47 Katsumi Yamaoka
2004-11-10 13:05 ` Romain Francoise
2004-11-10 14:39   ` Gabor Z.Papp
2004-11-10 18:41     ` Jesper Harder
2004-11-10 23:40       ` Katsumi Yamaoka
2004-11-11 11:47         ` Romain Francoise
2004-11-12  7:27           ` Katsumi Yamaoka
2004-11-12  8:20             ` Romain Francoise [this message]
2004-11-12  9:06               ` Katsumi Yamaoka
2004-11-12 13:15                 ` Katsumi Yamaoka
2004-11-12 13:53                   ` Romain Francoise
2004-11-15  5:32                     ` Katsumi Yamaoka
2004-11-15 13:26                       ` Romain Francoise
2004-11-15 16:40                       ` Dan Christensen
2004-11-16 16:17                         ` Reiner Steib
2004-11-16 20:41                           ` Dan Christensen
2004-11-16 21:21                             ` Romain Francoise
2004-11-16 21:51                               ` Simon Josefsson
2004-11-17 15:22                                 ` Frank Schmitt
2004-11-17 19:57                                   ` Romain Francoise
2004-11-18 11:04                                     ` Frank Schmitt
2004-11-19  7:28                                       ` Romain Francoise
2004-11-19 14:17                                       ` Kai Grossjohann
2004-11-19 22:14                                         ` Frank Schmitt
2004-11-20 16:49                                           ` Kai Grossjohann
2004-11-20 20:39                                             ` nnimap syncing (was: Gnus slow?) Steven E. Harris
2004-11-20 22:58                                               ` nnimap syncing Simon Josefsson
2004-11-22  0:59                                             ` Gnus slow? Katsumi Yamaoka
2004-11-22  7:57                                               ` Matt Armstrong
2004-11-22  8:58                                               ` Kai Grossjohann
2004-11-23 20:43                                             ` Romain Francoise
2004-11-25  0:19                                               ` Katsumi Yamaoka
2004-11-25  7:41                                                 ` Romain Francoise
2004-11-25  7:55                                                   ` Katsumi Yamaoka
2004-11-11  7:16 ` Adam Sjøgren

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=87u0rv8on2.fsf@orebokech.com \
    --to=romain@orebokech.com \
    /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).