From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74195 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Improving Gnus speed Date: Sun, 21 Nov 2010 07:02:05 +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 1290319362 25471 80.91.229.12 (21 Nov 2010 06:02:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 06:02:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22560@lists.math.uh.edu Sun Nov 21 07:02:35 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 1PK30T-0005DT-Fr for ding-account@gmane.org; Sun, 21 Nov 2010 07:02:33 +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 1PK30I-0003bE-Hy; Sun, 21 Nov 2010 00:02:22 -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 1PK30G-0003az-Go for ding@lists.math.uh.edu; Sun, 21 Nov 2010 00:02:20 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PK30B-0003kQ-Sy for ding@lists.math.uh.edu; Sun, 21 Nov 2010 00:02:20 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PK30B-0003bh-00 for ; Sun, 21 Nov 2010 07:02:15 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PK30B-0005B8-0k for ding@gnus.org; Sun, 21 Nov 2010 07:02:15 +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 ; Sun, 21 Nov 2010 07:02:15 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Nov 2010 07:02:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEWQk40dHBsiIiMRDhIW FRZOT08aGBc2UqMtAAACVElEQVQ4jV2UTZObMAyG3Z3xvSYJ50Vg7olZ7sFezo4b5VxY0P//CZVt YNtqMhnjh1d6hT+EAkWklCppGYlo4uECpVIiThH/aHHjQjTGAUAbAVGaJhdjiX9KvE0MNrKMjgUM yBgzTAJAqR3uYUdikOZLRfw+1+gzmkpRJDDRYt1o+y8zu0RKobZMznbOWWNuTQKKa1SRnHnSXRkY SKl2ULJJ25nOOntro0CJoiiSwHXGOBaYvsoKlQQVK8wW5QaSqUq5gQtcI+hS9Qw0nBsuYTIav0EI TcHFE5pNf/RxQVWNztpUojv1hwIxnJ+dOaJfMriIgG/Atu4n4+7R9Qa8lCj0ua8/8RThLVYRUcDh Q30y5g72WpkPdhwXykcgf9i7MwMEh/aT3+BPokUCz1ujg9XYDC2DnsF7yoQNF8VQA3QwsDFewSxA OAHcdPPx4IQM7iJnEhoABTZo1xe7MoZTZYFujNY+6NDhF4Mrg2hKSijUoC9eyyfUDKbsSiICgBeS JVh33GAEyiN/qwKiNEjQob51cTNw5zJEAXifbA8PBnkFMfCOCIhcDDU3/jlmhboEBaBlBCLoXx2O +5pX3ARK4ZM9NIeinIazxtyorLFZj10y3Z3226dBaL+BKgA34PFFa9q7abfPsCnY12PNiiIdzF0h ENt1PlIRzTuQgX5f/gKEG8H2P7BuJd54+A+gDbwSKDMoaSJ651QokQ6gY+f8OEv8Kf0jgnUH+QSX NHsss4LTRBBvE5YAvQfaUkVQZkE8LXO7gejqQule4eCLgW8gxzUc7/Y/7M7vaG7dqwMAAAAASUVO RK5CYII= Mail-Copies-To: never X-Now-Playing: Oneohtrix Point Never's _Returnal_: "Nil Admirari" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:xAXA4w6zKWCxvZkahMNwFHP1Or4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74195 Archived-At: Francis Moreau writes: > For example, I have a group which contains 1298 articles. Entering it > lasts 9 seconds: > > - 7 secs in the fetching process > - 2 secs in sorting + summary buffer generation [...] > I'm giving you the elp results when entering in the group containing > 1298 articles, with all articles displayed: > > gnus-thread-total-score 21809 18.607898999 0.0008532211 elp is still claiming that this function is being called 21k times, and that this takes 18 seconds. Which sort of doesn't make much sense, since: > gnus-group-select-group 1 10.66085 10.66085 This is surely the top-level function being called, so the 18 seconds sorting should be counted here, too, but it isn't, which is why I was wondering whether you were doing other things between each elp-results... Anyway: > gnus-get-newsgroup-headers-xover 1 6.78624 6.78624 There's the seven seconds... > gnus-summary-number-of-articles-in-thread 22361 3.2177489999 0.0001439000 And there's a totally crazy call number again. That function should be called (generally) once per displayed article in the summary buffer (if you have that in your summary line format). But it's called 10x the number of times. > gnus-dd-mmm 1301 0.9418810000 0.0007239669 I'm guessing you have a somewhat non-standard summary line format for that function to show up, but at least it tallies up with the number of articles in the group, somewhat. > gnus-id-to-thread 21805 0.1913100000 8.773...e-06 Again, a totally ridiculous call number... I'd suggest removing all Gnus customisations to find out what triggers these weird call numbers. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen