Gnus development mailing list
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
Subject: Profiling Gnus (was: Re: Typos...)
Date: Tue, 28 Aug 2001 13:32:24 +1000	[thread overview]
Message-ID: <87heusyi47.fsf_-_@inanna.rimspace.net> (raw)
In-Reply-To: <iluwv3pmpms.fsf@barbar.josefsson.org> (Simon Josefsson's message of "Mon, 27 Aug 2001 18:30:51 +0200")

On Mon, 27 Aug 2001, Simon Josefsson wrote:
> Daniel Pittman <daniel@rimspace.net> writes:
> 
>>> 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...
> 
> 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

-- 
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øren Kierkegaard, _Either/Or_ (1843)


  reply	other threads:[~2001-08-28  3:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-25 19:38 Typos Andreas Jaeger
2001-08-25 20:03 ` Typos Simon Josefsson
2001-08-25 21:46   ` Typos Pavel Janík
2001-08-26 10:42     ` Typos Andreas Jaeger
2001-08-26 15:06       ` Typos Simon Josefsson
2001-08-26 19:53         ` Typos Pavel Janík
2001-08-26 23:43         ` Typos Daniel Pittman
2001-08-27 16:30           ` Typos Simon Josefsson
2001-08-28  3:32             ` Daniel Pittman [this message]
2001-08-28 12:21               ` Profiling Gnus (was: Re: Typos...) Lars Magne Ingebrigtsen
2001-08-31  9:05                 ` Daniel Pittman
2001-08-28 17:21               ` Simon Josefsson
2001-08-31  9:08                 ` Daniel Pittman
2001-08-31 23:32                   ` Simon Josefsson
2001-08-27 16:21       ` Typos Simon Josefsson
2001-08-27 17:34         ` Typos Pavel Janík
2001-08-27 18:05         ` Typos Andreas Jaeger
2001-08-27 20:30           ` Typos Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87heusyi47.fsf_-_@inanna.rimspace.net \
    --to=daniel@rimspace.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).