From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73927 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Improving Gnus speed Date: Tue, 09 Nov 2010 13:35:15 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1289307652 29644 80.91.229.12 (9 Nov 2010 13:00:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2010 13:00:52 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22296@lists.math.uh.edu Tue Nov 09 14:00:48 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 1PFnob-0001I0-7b for ding-account@gmane.org; Tue, 09 Nov 2010 14:00:45 +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 1PFnoD-00012J-Gz; Tue, 09 Nov 2010 07:00:21 -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 1PFnQb-0000vF-6L for ding@lists.math.uh.edu; Tue, 09 Nov 2010 06:35:57 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PFnQW-0006vb-1X for ding@lists.math.uh.edu; Tue, 09 Nov 2010 06:35:56 -0600 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PFnQV-0007aj-00 for ; Tue, 09 Nov 2010 13:35:51 +0100 Original-Received: by fxm3 with SMTP id 3so847464fxm.17 for ; Tue, 09 Nov 2010 04:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=1n/KyzHfgXIHkhfKAefAstudtLj1EGXCV3vt5nYmQzc=; b=v6GGTTXhC2Gmtdju8iDh9EiVuraZ30QIayE4HgaWmKlKX22OJUwsrn81iQhTQxyUlI rnnobKOF750ww447LJOqx1vQm8lZcPKh9An1uYgw3ouF3HFCiuTvATU3EsWiqY7qyCFd 17aEYY45QR85twyvnB9mgQVOhfvjX2rH6OD18= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=gYJW8EwXC54z0MToPLgklgJmPKr7NzvXKO9R5wKZWjQ2aTBZSDqZkI+VsCe9e/x/Yk +L0j8ChZqW8UcqWM54S2HDfCqBjgjWfq4DUYHSfCLgbX2v3kELgQqMcKncZPAL+laCIS 0nuwph5wa8wRZI0emczDK2PZKLXFV9/Kfzvuw= Original-Received: by 10.223.74.143 with SMTP id u15mr5014644faj.27.1289306120750; Tue, 09 Nov 2010 04:35:20 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id p18sm619529faa.16.2010.11.09.04.35.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Nov 2010 04:35:19 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73927 Archived-At: Hello, I'd like to give some feedbacks about Gnus' speed. First I just wrote this in order to improve Gnus _only_. I use as a newsreader Gnus and Thunderbird, and I must admit that Gnus is much slower specially to fetch header and to display the summary buffer. One example: I'm using article caching to save precious articles. Here's my related config: (setq gnus-use-cache 'passive) (setq gnus-cacheable-groups "^nntp") (setq gnus-keep-backlog 50) Even if articles are cached, Gnus takes some times to display the summary buffer: Entering in the group containing cached articles: 4 secs. This group contains 230 unread articles. Now display all articles in this group by doing '/ o': Gnus asks me: How many articles from nnml+cache:nntp+news.free.fr:comp.lang.c (default 42555): Type . Fetching headers for nnml+cache:nntp+news.free.fr:comp.lang.c... < 7 secs> done < 22 secs> Generating summary... < 3 secs> done As you can see all these figures are pretty high, the biggest being 22 secs. I'm wondering what's Gnus is executing since it seems between 2 steps. Corresponding group parameters: (display . all) (gnus-use-scoring t) (gnus-thread-sort-functions '((not gnus-thread-sort-by-number) gnus-thread-sort-by-total-score))))) I'm interested in improving this, so any suggestions are welcome. Otherwise I can have a look to the revelant part of the Gnus' code, although I almost don't speak elisp but that would be a reason to start learning this language, if some one can suggest me some functions or some starting points to look at. BTW, Gnus is using Git as SCM (cool) but it seems that it uses HTTP method only (not git protocol). Is that right ? IIRC, git protocol is more effective, and I actually don't compile Git with HTTP support since it adds some dependency like curl for no good reason. Out off topic: Why does Gnus development use a mailing list ? That's pretty paradoxical, isn't it ? Thanks -- Francis