Hi, Magit works fine with small repositories, but seems to be almost too slow with the git.git repository (dirty working directory with plenty of build intermediates): every operation like a stage seems to take forever. I think I've started experiencing this issue recently, so I'm guessing a recent commit broke something. Is anybody else experiencing this?
I'm using a byte-compiled version of the upstream Magit. I first tried interactively debugging- the backtrace is huge, and I really can't find any long loops. I then profiled the package and executed magit-status. In the output, you can see several of the functions taking almost 10 seconds to execute: magit-status 1 9.62752 9.62752 magit-mode-init 1 9.613432 9.613432 magit-refresh-buffer 1 9.613326 9.613326 magit-refresh-status 1 9.612894 9.612894 magit-git-section 4 9.560483 2.39012075 magit-insert-section 4 9.560412 2.390103 magit-insert-topics 1 9.480099 9.480099 I don't have much experience debugging Emacs Lisp, but I'll be glad to help if someone can tell me what I should be looking for. Thanks, Ram
