FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.41k stars 637 forks source link

Speed up ungit #1508

Open jung-kim opened 2 years ago

jung-kim commented 2 years ago

closes: #1091

Can someone test on their big repos?? It is an improvements but I'm not sure if it is enough of an improvement.


Node count matters less because we incrementally load nodes. But the over all git ref count from show-ref -d command was the biggest reason for the slow down, and indirectly create nodes.

This PR was tested with a repo with 14498 refs and before ungit was unusable but now it usable without any big issues now.

wmertens commented 2 years ago

@jung-kim is there anything here that also works on the nodegit branch where node loading and graph layout is different?