Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: xemacs-beta@xemacs.org, Ding List <ding@gnus.org>
Subject: Re: Speed difference in Gnus
Date: Thu, 13 Oct 2005 23:17:16 +0200	[thread overview]
Message-ID: <v91x2pt8v7.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87r7ap899o.fsf@xemacs.org> (Hrvoje Niksic's message of "13 Oct 2005 22:14:11 +0200")

On Thu, Oct 13 2005, Hrvoje Niksic wrote:

> The speed difference between XEmacs and GNU Emacs is amazing, in that
> GNU Emacs is significantly faster, at least for "heavy" usage such as
> Gnus.

Interesting.  Which versions of (X)Emacs and Gnus did you test?

> Entering a large summary buffer takes time proportional to the
> *square* of the number of messages in the folder.  (This is not a
> wild guess, a friend has actually measured.)  Time to enter a folder
> of more than 3000 articles quickly degrades to minutes.
>
> For the longest time I believed this to be a result of XEmacs's
> implementation of text properties on top of extents.  I planned to
> convert Gnus to use extents natively, in the hope that it would speed
> up summary buffer generation.  

Then `M-RET' should be significantly faster, shouldn't it?

,----[ <f1> f gnus-group-quick-select-group RET ]
| gnus-group-quick-select-group is an interactive compiled Lisp
| function in `gnus-group.el'.
| (gnus-group-quick-select-group &optional ALL)
| 
| Select the current group "quickly".
| This means that no highlighting or scoring will be performed.
| If ALL (the prefix argument) is 0, don't even generate the summary
| buffer.
| 
| This might be useful if you want to toggle threading
| before entering the group.
`----

> But according to profiling, most of the time is spent in `insert',
> at least once you discount excessive GC by increasing
> gc-cons-theshold.  I'm not sure what XEmacs is doing wrong here.  I
> suspect Mule is to blame, but I can't prove it.

`C-u 0 M-RET' probably doesn't use insert so often.  Is it comparable
to `C-u 0 M-RET' in Emacs then?

> Using FSF Emacs gave me an order-of-magnitude speedup when entering
> large newsgroups and large mailing list folders.  It's uncanny.

Bye, Reiner.

PS: Cc-ing ding.  This might be interesting for Gnus developers.  See
    http://thread.gmane.org/gmane.emacs.xemacs.beta/20690 for the
    whole thread.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



       reply	other threads:[~2005-10-13 21:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87r7ap899o.fsf@xemacs.org>
2005-10-13 21:17 ` Reiner Steib [this message]
     [not found] ` <434EFD44.7030601@xemacs.org>
     [not found]   ` <877jcgub0f.fsf@xemacs.org>
     [not found]     ` <434F3897.3050007@xemacs.org>
     [not found]       ` <873bn4tptq.fsf@xemacs.org>
     [not found]         ` <87d5m89wuf.fsf@tleepslib.sk.tsukuba.ac.jp>
     [not found]           ` <87y84nyuo0.fsf@mat.ucm.es>
     [not found]             ` <873bmulscb.fsf@tleepslib.sk.tsukuba.ac.jp>
     [not found]               ` <87pspypwzv.fsf@mat.ucm.es>
     [not found]                 ` <sluuli82.fsf@smtprelay.t-online.de>
2005-10-24 16:52                   ` Uwe Brauer
2005-10-24 18:24                     ` David Kastrup
2005-10-25  9:50                       ` Uwe Brauer
2005-10-25 10:48                         ` David Kastrup
2005-10-25 17:50                         ` Jesper Harder
2005-10-25 22:07                           ` David Kastrup
2005-10-26  9:32                             ` Uwe Brauer
2005-10-27  1:02                               ` Ben Wing
2005-10-27  9:24                                 ` Uwe Brauer
2005-10-28  9:52                                 ` Uwe Brauer
2005-10-28 11:09                                   ` Simon Josefsson
2005-10-28 11:55                                     ` Uwe Brauer
2005-10-28 12:27                                       ` Simon Josefsson
2005-10-28 12:06                                     ` Uwe Brauer
2005-10-28 12:28                                       ` Simon Josefsson
2005-10-28 14:05                                         ` Uwe Brauer
2005-10-28 14:31                                           ` Simon Josefsson
2005-10-28 15:53                                             ` Uwe Brauer
2005-10-31  7:05                                               ` Ben Wing
2005-10-28 10:04                                 ` Uwe Brauer
2005-10-24 21:00                     ` Reiner Steib

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=v91x2pt8v7.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=xemacs-beta@xemacs.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).