From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73958 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 19:55:23 +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 1289328959 10916 80.91.229.12 (9 Nov 2010 18:55:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2010 18:55:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22326@lists.math.uh.edu Tue Nov 09 19:55: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 1PFtMJ-0002Yb-9R for ding-account@gmane.org; Tue, 09 Nov 2010 19:55:55 +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 1PFtMF-00043L-6n; Tue, 09 Nov 2010 12:55:51 -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 1PFtMD-000435-Sc for ding@lists.math.uh.edu; Tue, 09 Nov 2010 12:55:49 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PFtLz-0000T3-RF for ding@lists.math.uh.edu; Tue, 09 Nov 2010 12:55:49 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PFtLz-00047O-00 for ; Tue, 09 Nov 2010 19:55:35 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PFtLy-0002Mt-Bp for ding@gnus.org; Tue, 09 Nov 2010 19:55:34 +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 19:55:34 +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 19:55:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 53 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXgzNfHl29nKDLBcWzP po0oCRS3ilalRlXivaQMAAACQ0lEQVQ4jXWUTY/bIBCG2Q3qnpEsztV4La6Wh4qrqUf2PdL+AEuR c60g1fz9DjgfTdROYoJ5zHzgeaO+/mNq283sP7YMaxnU1pjGNpuJ1Bg6mTnGMosCYkMzWQEnKt/m RE2kaNVmY9M0MppTNOtqozxjmwKqf7s+4uxRrsFnIipXcVUT2O5ZGWPXOqxPQG7s9braFYiLWZKc JZ/4tGOVYsxmrHyuKagS0JiGXk09TGsaHzf3SUhQrPXPQFYzIgbnkusfQMOxRSTCQIgJ+jvoHCOj R85E4wSpv4LhiAGTY8ijZDMl53bwAXnKfhGC6InYDfC9gqHFkDXlUTN7PQWcZEsBwLKgNI8qZS/R JwrpIuAAR+cX2eg9B0QO2ev0KZW/AzjsDxrawFJLDpkUg9T53jI4r1n8IE0pB18AK7UAJ+ach7KO 6YLTqFwHSr1JAY7DhSmB+PGo/YELOHA/SOE5E8ohXmhS0zJ8CdDDr5+SSsiSvliWM3OdtKhSof3h uA04JPHp0Pecvir4kDP/3YaMagDXIgXoKtByOgDibFRLkpJC6mq3K7Jy0ODkmxnLa+x2GWhjtwU6 cJCOMtzWZUdpo6m+8ARHeAhnbyyTuldFqbkSZoDjM3gr6+ea+19WKj//A4AAFQs4J+heQQ3PT0CO u4BvO3gQxznUhiOJUQq5PS9tNO2tu/CZ96YW+ywqmFSVhzF1qGZFvaJDtcpsq4Jct3W9KbAAEVOs GjIiRBH1Kv8Z81zATWYyaWKc1+JWNHjf/WJ/AL+kGyF9dzm3AAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Vague Terrain Recordings's _A Viable Alternative to Actual Sexual Contact_: "Total Muscle Control" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:RsW3nKunCHtC+/6lGHvCdFGzt7I= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73958 Archived-At: Francis Moreau writes: > 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. That's obscenely slow. Even if the 230 articles were fetched over the net, it shouldn't take anywhere that long. > 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 That seems rather slow, too, but Gnus is rather slow when rendering large summary buffers, and I've never understood why, really. Entering a 10K group takes a couple of seconds, but entering a 100K group takes several minutes. So there's something exponential going on somewhere... > I'm interested in improving this, so any suggestions are welcome. (setq debug-on-quit t) and then `C-g'-ing a few times should tell you what function is taking so long. `M-x elp-instrument-package RET gnus RET', doing something, and then `M-x elp-results' should give you a detailed look. > 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. The Gnus sources are so small that just using HTTP seems OK to me, speedwise. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen