From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73976 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Improving Gnus speed Date: Tue, 09 Nov 2010 22:27:21 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1289338079 26053 80.91.229.12 (9 Nov 2010 21:27:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2010 21:27:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22344@lists.math.uh.edu Tue Nov 09 22:27:55 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 1PFvjO-0005P2-JY for ding-account@gmane.org; Tue, 09 Nov 2010 22:27:54 +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 1PFvjF-0005nn-FG; Tue, 09 Nov 2010 15:27:45 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PFvjD-0005nY-Mf for ding@lists.math.uh.edu; Tue, 09 Nov 2010 15:27:43 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PFvj8-0001KG-Vp for ding@lists.math.uh.edu; Tue, 09 Nov 2010 15:27:43 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PFvj8-00063A-00 for ; Tue, 09 Nov 2010 22:27:38 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PFvj6-0005Fl-5l for ding@gnus.org; Tue, 09 Nov 2010 22:27:36 +0100 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Nov 2010 22:27:36 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Nov 2010 22:27:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX9//P6/fD9//b8/vSD QxpJCgHd18b9//VqncFLAAACYUlEQVQ4jV2UTW+kMAyGjZDKFZcRc26QJtcFHzh3N+G+Esx5sks5 sxmp/vtrJ0xb1YdB44fXnwmAaj3hF2u3gAjY0dAbNGLRWNY3glJozBa2NlBCxthNLWCvIFsGlwNI KP3bvfw1D6OALSIBmm92J+qlGmiGw6EhnuXJnZDmU7Euaj+1NtFQCaiKy+qSf5lNN0bx0wgo8ovz bhY0u2u0cSRCMklx8stytb2UqUmICtQcg3lZvQbR9qz+9o2MSENdVu/9/JynIpQapCaBzTm//Pls kRqSUI35t2lRn0DLjQpMoU38OtyRpfMmKSz1Aq4fio6wGQSw1Ke9HXOUrUgS6UMSUe9Vcs4biZKD BeDAxG86j+l8hLpTFEDDONg8wnkK92i6aO8KfkQaBcx5iu42mFI6UWBttKu2mFWB4ziWLKG6u2UB bvFJNofK9iUAWku8K1BL1dUjlZVusCuhTe45h5Oz1CRg72MGxxqvDdYCRmNH+7I+AqnJQRRA2pMC fwgkVgJl6vbkPtzL8lsOImClZ8m8S2o3bf4LiDHFcuLetiy7ItaPA6cA66ejrPb1A1ycuwE8wCnU cg2O5FMN1QGWSXLUrMuRmYSKbeGPQWoOrQqeRFBZLtLClle9aghsjQhuLMe2aHXAc7qDyLuxhZvO wBKxeJs3n0Ft2eyte60gWmZol9D6kBSWZX/T2e6SnPdivaJ0pAqja7pVIAAAipNbM8AGNzfBDskK Hf+Wk+OqTSdQhFYB5uQgnwiACmB/z2sMDwAV7wyR+aQTDhpEwTmKpZtkLNTRMO9KQKv69mmQNoX8 B3vR7slFmSp2AAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Vashti Bunyan's _Lookaftering_: "Turning Backs" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:E4X/K0fXglbgPMc/e6Yitdravgo= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73976 Archived-At: I've done some sloppy benchmarking with this: (benchmark-elapse 1 (gnus-summary-limit-to-unread)) With varying numbers of articles: 10k 2.3s 20k 5.6s 30k 9.8s 40k 15.8s 50k 20.5s So it's not linear, but it's not terribly exponential, either. But I think I know what's probably causing the non-linearity -- it's probably the article marks stuff. It `memq's over these lists, and the longer they are, the longer it takes. `M P b'-ing the 50k buffer has been running for a few minutes now, and that's mostly all list manipulation... I was going to rewrite all the marks stuff to use ranges directly, and that should help a great deal here. I'll get to it one of these evenings. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen