jonas/tig

tig is slow to start in large repo

pkitszel opened this issue · 3 comments

When started in large repo (linux kernel) tig takes 10s to show any content, even if started as tig -99, what limits output to just some recent history

it works better for me now, not sure what are dependencies that fixed that (same machine, same repo, but more commits, same tig binary from June).

I'm still having the same issue... I'm on fedora. It's incredibly slow hen compared to gitk for example. Would be nice to understand what could be the reason for this

Oh, so this is improved things a lot...

git config --global core.commitGraph true
git config --global gc.writeCommitGraph true
git commit-graph write

AFAIK, the configs are already defaulted to true so I was missing the commit-graph write... tig --all still takes around 3s to load on the linux kernel (with multiple remotes) but I guess that's acceptable