From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38385 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Profiling Gnus (was: Re: Typos...) Date: Tue, 28 Aug 2001 13:32:24 +1000 Organization: Not today, thank you, Mother. Message-ID: <87heusyi47.fsf_-_@inanna.rimspace.net> References: <871yly5qvr.fsf@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035174257 22139 80.91.224.250 (21 Oct 2002 04:24:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:24:17 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 20421 invoked from network); 28 Aug 2001 03:33:17 -0000 Original-Received: from melancholia.rimspace.net (HELO melancholia.danann.net) (203.36.211.210) by gnus.org with SMTP; 28 Aug 2001 03:33:17 -0000 Original-Received: from localhost (melancholia.rimspace.net [203.36.211.210]) by melancholia.danann.net (Postfix) with ESMTP id 5A8CA2A833 for ; Tue, 28 Aug 2001 13:32:58 +1000 (EST) Original-Received: by localhost (Postfix, from userid 1000) id B59A482024; Tue, 28 Aug 2001 13:32:24 +1000 (EST) Original-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Mon, 27 Aug 2001 18:30:51 +0200") X-Homepage: http://danann.net/ User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.5 (artichoke) Original-Lines: 48 Xref: main.gmane.org gmane.emacs.gnus.general:38385 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38385 On Mon, 27 Aug 2001, Simon Josefsson wrote: > Daniel Pittman writes: >=20 >>> Yeah, currently `g' makes nnfolder/nnml read the mark files and >>> calculate things, which isn't necessary (it's only necessary if the >>> marks file is changed). I'll fix it soon. >> >> Oh, good. I was starting to ponder instrumenting Gnus and finding out >> where it was wasting time on startup; it takes a few tens of seconds >> (with no progress message even at verbosity 7 -- hint) to do the >> marks stuff over my 1.1GB of nnml... >=20 > I've added some more messages. I did not made the optimization I > thought of before yet, as it would actually be useful if you could > instrument Gnus to find out where it's spending time, it may suggest > other functions to optimize. Well, I am happy enough to do this... > Please M-x elp-instrument-package RET gnus RET and M-x > elp-instrument-package RET nn RET. M-x elp-results RET after starting > Gnus and after doing `g' would be useful. Thanks. ...if you will let me in on the secret of getting it to instrument the functions. :) I updated to the latest CVS version and removed all the compiled lisp from gnus/lisp. So far, so good. So, I can't actually `elp-instrument-package' gnus because it's full of autoload functions. Fine. I restart, use dired and %m, L all the .el is the Gnus directory... ...which still has a bunch of autoloads hanging around and now won't actually start. *sigh* So, if anyone can tell me how to do this profiling, I am quite happy to do so. Daniel --=20 In addition to my other numerous acquaintances, I have one more intimate confidant. My depression is the most faithful mistress I have known --- no wonder, then, that I return the love. -- S=F8ren Kierkegaard, _Either/Or_ (1843)