From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38400 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Profiling Gnus (was: Re: Typos...) Date: Tue, 28 Aug 2001 19:21:23 +0200 Message-ID: References: <871yly5qvr.fsf@inanna.rimspace.net> <87heusyi47.fsf_-_@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174270 22217 80.91.224.250 (21 Oct 2002 04:24:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:24:30 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 9981 invoked from network); 28 Aug 2001 17:21:53 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 28 Aug 2001 17:21:53 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.6/8.11.6) with ESMTP id f7SHLvh10709; Tue, 28 Aug 2001 19:21:58 +0200 Original-To: Daniel Pittman In-Reply-To: <87heusyi47.fsf_-_@inanna.rimspace.net> (Daniel Pittman's message of "Tue, 28 Aug 2001 13:32:24 +1000") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 32 Xref: main.gmane.org gmane.emacs.gnus.general:38400 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38400 Daniel Pittman writes: >> 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. Perhaps elp is broken in XEmacs. Ok, try evaluating (mapcar (lambda (file) (and (string-match ".el$" file) (load-library file))) (directory-files "~/gnus/lisp")) before you do the above. Any better?