awaescher / RepoZ

👨‍💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
MIT License
1.01k stars 91 forks source link

Performance issue searching large set of repositories #151

Closed lennoncork closed 3 years ago

lennoncork commented 3 years ago

I have a large set of repositories included from a scan. Typing in the search bar often results in a UI freezeup presumably because search occurs on each keypress and there is a lot to get through. I was able to capture a dotTrace of the lockup but it's not super useful. Suggest buffering the keypress a little and adding the ability to cancel the current keypress action if a new one comes while it's executing.

Happy to take a look at producing a PR for this.

image

awaescher commented 3 years ago

This has to be a massive repository list indeed. Buffering/Cancelling sounds good to me, happy to review pull requests.