I am seeing some slowness in my init file loading:
$ time emacs --debug-init -eval '(kill-emacs)' -Q real 0m0.672s user 0m0.338s sys 0m0.057s $ time emacs --debug-init --eval '(kill-emacs)' real 4m17.821s user 0m2.769s sys 0m0.226s
These 4mins of loading is reproducible. Actually looks like a timeout. It happens when I do
(require 'magit). But I don't think it's related to magit because
(require 'helm-gtags) causes the same slowness.
--debug-init is not activated when I press C-g during the time emacs is unresponsive. Obviously is not activated either after the load finishes because there's no error.
I am wondering how I can understand where the slowness comes from. I guess a backtrace at the point of slowness would be nice. Maybe some tracing facility?