[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x elp-instrument-package RET RET makes emacs unusable
From: |
Simon Josefsson |
Subject: |
Re: M-x elp-instrument-package RET RET makes emacs unusable |
Date: |
12 May 2001 11:56:04 +0200 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 |
"Eli Zaretskii" <eliz@is.elta.co.il> writes:
> > And I'm not even sure it's only due to instrumenting too many
> > functions, it might be a problem instrumenting some single function --
> > I mean, C-h f ? only list about 8000 functions, while C-h f gnus ?
> > list about 2000, and I often profile entire gnus without any problems.
> > So raising max-lisp-eval-depth and max-specdl-size by about 4 times
> > should help, but it doesn't. (I've tried raising it 100 times without
> > any improvement.)
>
> Perhaps because it tries to instrument even the primitives?
Yes, emacs -q and instrument `if', lot of things gets very confused
(try C-x C-f or C-h f). Debugging this is beyond my lisp knowledge,
and I'm also not sure if this is even worth trying to fix if it can't
be done easily. (People that profile stuff will probably understand
why this is bad and simply not do it.)
Re: M-x elp-instrument-package RET RET makes emacs unusable, Richard Stallman, 2001/05/12