0

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.

2

Emacs includes a CPU profiler for this purpose.

C-hig (elisp)Profiling RET

  • Should this binding run info from info.el? – Dodgie May 31 '18 at 23:26
  • Yes, that will display the node in question from the elisp manual. – phils Jun 1 '18 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.