Christopher Allan Webber <[email protected]> writes:
>> Tried with a large repo (Emacs). After invoking magit-review Emacs >> freezes while git/magit-review inspects the repo. After several minutes, >> I canceled the operation by pressing C-g. This is the same problem >> wazzup has, which is unusable on this type of repos. >> >> Does magit-review provide a method for improving this? > > I've found that magit-review helps for MediaGoblin, where things are > slowed down drastically by having a ton of branches to review (I have > around 500ish) but that's not accounting for slowness based on history > length itself. Yes, the problem here is history length. Quite a few of the older branches have been merged rarely, if at all. > I wonder if you've done "git gc --agressive" if that impacts > performance? My initial experiment was without `git gc [--agressive]'. Just tried after `git gc --agressive' and canceled wazzup after 20 minutes or so. > Anyway, it's still using the *general* trick that > git-wazzup is, which does involve trying to find a common head. What > magit-review does differently is that you're able to move branches over > to a state where you don't see them anymore, such as the ignore > branches, or a subset of branches to focus on, such as the tracking > ones. But other than that, I don't suspect it has anything else that > helps. Ok. The problem is that for hiding/ignoring the uninteresting branches you have to reach the initial display of magit-review/wazzup, which takes forever. Apart from that, for the case of emacs.git, even ignoring almost all branches, I'm afraid that one month worth of commits would be enough to slow down wazzup to annoying levels just showing the difference with origin/master. One thing that could work is to show the branches, mark those that diverged but do not gather the commits on advance, do so just when the user requires it, on a similar whay magit-status does: it shows the modified files but inspects and shows the difference only when the user ask for it. -- --- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
