emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undo-auto--undoable-change infloop


From: Michael Heerdegen
Subject: Re: undo-auto--undoable-change infloop
Date: Wed, 27 Jul 2022 19:06:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> > A CPU profiler report looks like this, with stuff less than 3% removed:
> > 
> >        24220  41% - timer-event-handler
> >        21654  37%  - timer-activate
> >        19231  33%   - timer--activate
> >        17774  30%      timer--time-less-p
> >        19949  34% - ...
> >        19949  34%    Automatic GC
> >        14040  24% + command-execute  ;; actual command execution time
> >             [...] [...]
> > 
> > This is a very strange result, not saying anything to me.
>
> Why does it seem strange to you?

That there is no Lisp function there besides the timer stuff.  Undo
stuff like amalgamating is done in Lisp, so such function(s) should
appear there if they do work or initiate it.  And 30% time spent in
`timer--time-less-p' doesn't look sane.  Seems that function is called
extremely often.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]