From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74045 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Improving Gnus speed Date: Fri, 12 Nov 2010 13:55:38 -0500 Message-ID: <87zktemkwl.fsf@uwo.ca> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1289588221 375 80.91.229.12 (12 Nov 2010 18:57:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 12 Nov 2010 18:57:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22413@lists.math.uh.edu Fri Nov 12 19:56:57 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PGynw-0006bK-Uo for ding-account@gmane.org; Fri, 12 Nov 2010 19:56:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PGymz-0004So-W1; Fri, 12 Nov 2010 12:55:58 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PGymy-0004SY-8D for ding@lists.math.uh.edu; Fri, 12 Nov 2010 12:55:56 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PGymw-0003ge-La for ding@lists.math.uh.edu; Fri, 12 Nov 2010 12:55:55 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PGymv-00084z-00 for ; Fri, 12 Nov 2010 19:55:53 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PGyms-0005pv-I4 for ding@gnus.org; Fri, 12 Nov 2010 19:55:50 +0100 Original-Received: from bas3-london14-1096778080.dsl.bell.ca ([65.95.129.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Nov 2010 19:55:50 +0100 Original-Received: from jdc by bas3-london14-1096778080.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Nov 2010 19:55:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bas3-london14-1096778080.dsl.bell.ca User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:UuKTbhRqwCSV5V/XT++MC5oojGs= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74045 Archived-At: Francis Moreau writes: > and while in the 22 secs processing, hitting C-g gives: > > parse-time-tokenize > parse-time-string > mail-header-parse-date > gnus-thread-latest-date > gnus-thread-sort-by-most-recent-date > gnus-sort-threads-recursive > . > 33 calls to gnus-sort-threads-recursive > . > gnus-sort-threads ... > gnus-sort-threads-recursive 641 65.774695999 0.1026126302 > gnus-thread-sort-by-most-recent-date 4348 31.652889000 0.0072798732 > gnus-thread-latest-date 8696 31.436723000 0.0036150785 ... > Yes I have this in my .gnus: > > ("^nntp\\|gmane\\." > (display . all) > (gnus-use-scoring t) > (gnus-thread-sort-functions '((not gnus-thread-sort-by-number) > gnus-thread-sort-by-total-score))))) Why are there calls to gnus-thread-sort-by-most-recent-date above, even though that's not listed as a sort function? In my experience, it is very slow, so eliminating it should help. I did some work to speed it up, but if anyone else can improve it further, that would be good. Dan