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?
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 :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With