Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Gnus slow?
Date: Fri, 12 Nov 2004 16:27:52 +0900	[thread overview]
Message-ID: <b9y8y97msqv.fsf@jpl.org> (raw)
In-Reply-To: <87r7n0zjx9.fsf@orebokech.com>

I also tried ELP on No Gnus v0.2 and the latest CVS.  The result
is that the latest CVS is faster than No Gnus v0.2 10 to 20%.
It will be meaningless to compare it with your result since I
subscribe to two foreign servers using nntp-open-via-(ssh and
telnet), the local news server, many shimbun groups and the nnml
groups, though.

>>>>> In <87r7n0zjx9.fsf@orebokech.com> Romain Francoise wrote:

(No Gnus checkout as of May 12th)
> Package gnus, version A (first 10 lines):
> Function Name                     Call Count  Elapsed Time  Average Time
> ================================  ==========  ============  ============
> gnus-activate-group               405         0.6969249999  0.0017208024

(the latest CVS)
> Package gnus, version B (first 10 lines):
> Function Name                     Call Count  Elapsed Time  Average Time
> ================================  ==========  ============  ============
> gnus-activate-group               808         28.273399000  0.0349918304

> - version B activates twice as many groups as version A.

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

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.



  reply	other threads:[~2004-11-12  7:27 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 [this message]
2004-11-12  8:20             ` Romain Francoise
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=b9y8y97msqv.fsf@jpl.org \
    --to=yamaoka@jpl.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).