From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84619 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.gnus.general Subject: Re: entering a group is slow Date: Tue, 17 Jun 2014 10:02:40 +0200 Message-ID: <877g4g9d5r.fsf@micropit.roche-blanche.homenet.org> References: <87mwdhmb9y.fsf@micropit.roche-blanche.homenet.org> <87ha3pszqe.fsf@gmail.com> <87d2ecj48r.fsf@micropit.roche-blanche.homenet.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1402992267 7113 80.91.229.3 (17 Jun 2014 08:04:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Jun 2014 08:04:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32862@lists.math.uh.edu Tue Jun 17 10:04:21 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WwoNQ-0007so-DT for ding-account@gmane.org; Tue, 17 Jun 2014 10:04:20 +0200 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 1WwoMF-0000Vx-HJ; Tue, 17 Jun 2014 03:03:07 -0500 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 1WwoMD-0000Vn-RI for ding@lists.math.uh.edu; Tue, 17 Jun 2014 03:03:05 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WwoM8-0001Fl-Ny for ding@lists.math.uh.edu; Tue, 17 Jun 2014 03:03:05 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WwoM6-0004hw-Nw for ding@gnus.org; Tue, 17 Jun 2014 10:02:58 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WwoM5-0006Dh-Re for ding@gnus.org; Tue, 17 Jun 2014 10:02:57 +0200 Original-Received: from arennes-651-1-118-78.w2-2.abo.wanadoo.fr ([2.2.13.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jun 2014 10:02:57 +0200 Original-Received: from pmlists by arennes-651-1-118-78.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jun 2014 10:02:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-118-78.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.130012 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.12) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:5LBnXVploT2EjyNC2bp6fCIYDhY= X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84619 Archived-At: On Fri, Jun 13 2014, Peter Münster wrote: > On Fri, Jun 13 2014, Igor Sosa Mayor wrote: > >>> Entering a group is very slow on my system (several seconds, up to >>> 15 seconds sometimes). Is this a know problem and do you know how to >>> make it faster? >> >> how many messages are in the group? > > Often some hundreds (700-900) for example. > > And I've read http://gnus.org/manual/gnus_403.html#SEC546 : > > - gnus-fetch-old-headers is nil > - gc-cons-threshold is 3500000 > - gnus-use-correct-string-widths is nil My main group is "inbox", there are often only very few messages (< 10) that are displayed in the summary buffer and it takes about 5 seconds to enter the group. After using `elp-instrument-package' I've found, that the sorting functions are called a lot of times: gnus-thread-sort-by-most-recent-date 1981 4.8174347399 0.0024318196 gnus-thread-latest-date 3962 4.6299316569 0.0011685844 Because there are about 300 articles with the expirable-mark. These are not shown in the summary buffer, but it seems, that they are sorted nevertheless. Is it possible to tell gnus, to not sort articles that won't be displayed in the summary buffer? TIA for any help, -- Peter