Say I create a quick keyboard macro, but find that executing it in quick succession is extremely slow. How can I determine in what functions or packages this command is spending most of its time? Maybe some convenient help binding like C-h %
which will then display the performance details for the next command executed.
Add a comment
|
1 Answer
Emacs includes a CPU profiler for this purpose.
C-hig (elisp)Profiling
RET
-
-
Yes, that will display the node in question from the elisp manual.– philsCommented Jun 1, 2018 at 0:15