I'm bringing up a new machine and some operations are very slow. I'd like to re-run the commands magit is sending in a normal shell so I can use perf to see where time is being spent. magit-git-debug only logs output of failed commands and I don't really want the output but just the commands themselves.
-
2I wrote some code in #3096 to measure git calls and list them in org table format, is that the kind of thing you're looking for?– npostavsCommented May 30, 2018 at 23:04
-
@npostavs do you reckon it's worth getting cleaned up and merged into magit upstream?– stsquadCommented Jun 3, 2018 at 22:08
-
Hmm, not sure, I haven't had much use for it since.– npostavsCommented Jun 3, 2018 at 23:56
Add a comment
|
1 Answer
As @npostavs mentioned in a comment, he wrote some advise that can be used to do so.
This is useful for debugging performance issues, but I don't think it should be added to Magit. But if someone gets around to improve upon it, then please add it to the list of code snippets on the wiki.