Lurker News

Comments (229) 38 threads

Show all comments

Showing thread 11 of 38

kccqzy1 reply#
Magit is great but it's just so incredibly slow at big repos. For certain things like Instant Fixup magit is still faster than the command line but most of the time I can do it much faster via the command line. Sometimes I'm not even sure whether magit is just slow or my emacs hangs.
Pimpus2 replies#
Please post your OS and Emacs version.

Magit hasnt been slow for me since I upgraded to Emacs 26. Older versions of Emacs were not optimized for spawning processes on OSX and it was causing a 10x slowdown for some operations.

kccqzy#
I'm using the latest version of both.

Actually magit is quite fine for small personal projects. It's just that it absolutely chokes on a large monorepo I'm working on.

kccqzy1 reply#
Perhaps I should revise my statement. It isn't magit itself that's slow, but rather magit is calling out to slow git commands. And while those git commands are taking up 100% of my CPU, Emacs itself is using 0% CPU and totally unresponsive.

Just a few moments ago I had to kill Emacs because magit was executing this command:

    git branch --remote --contains 10a1663bf96f

Continue this thread — 1 reply