From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59119 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus slow? Date: Fri, 12 Nov 2004 16:27:52 +0900 Organization: Emacsen advocacy group Message-ID: References: <87sm7hua65.fsf@orebokech.com> <87r7n0zjx9.fsf@orebokech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100244623 16539 80.91.229.6 (12 Nov 2004 07:30:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Nov 2004 07:30:23 +0000 (UTC) Original-X-From: ding-owner+M7659@lists.math.uh.edu Fri Nov 12 08:30:10 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSVso-000404-00 for ; Fri, 12 Nov 2004 08:30:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CSVqu-0004DG-00; Fri, 12 Nov 2004 01:28:12 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CSVqi-0004D8-00 for ding@lists.math.uh.edu; Fri, 12 Nov 2004 01:28:00 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CSVqg-00071m-GN for ding@lists.math.uh.edu; Fri, 12 Nov 2004 01:27:58 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 285D23A004D for ; Fri, 12 Nov 2004 01:27:56 -0600 (CST) Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.42) id 1CSVql-0005CV-D2 for ding@gnus.org; Fri, 12 Nov 2004 02:28:03 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Q8f8ia+1/s8fHraCIJhj8fmxgQQ= X-Hashcash: 1:17:041112:ding@gnus.org::C1cKBh3NSte6Lkr5:00000qqr X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59119 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59119 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.