Reputation: 44461
I have lots of modules loaded in emacs. With some files, things get very slow. I would like to find out which module is the culprit. How could I debug this in emacs? Are there any debug settings / configuration parameters which could help me in logging the activity that emacs is performing while I move / edit in the active buffer?
Upvotes: 5
Views: 793
Reputation: 9390
You may find useful doing a M-x profiler-start. Use mode cpu when asked. After a while, type M-x profile-report and take a look to the findings. It is easy navigating through them.
Other than that, you always have the "binary search" cheapo-approach of commenting in and out fractions of your init file to find out who is slowing things :-)
Upvotes: 6