Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading too slow if too many branches #41

Open
NirmalScaria opened this issue Mar 2, 2023 · 0 comments
Open

Loading too slow if too many branches #41

NirmalScaria opened this issue Mar 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@NirmalScaria
Copy link
Owner

NirmalScaria commented Mar 2, 2023

Describe the bug
If the repository contains too many branches, the first loading of commits tab takes too long. This is particularly visible if the number of branches is greater than 100, since that would mean waiting for another GraphQL request.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a repo with too many branches. ( https://github.com/flutter/flutter is a good example )
  2. Click on "Commits" tab (added by the extension)
  3. See error

Expected behavior
The loading should be way faster than this.

Screenshots
NA

Version information:

Additional context
This was known during the development times itself, and had no other option. There is no API from github that lists commits across all branches sorted by commit date. Either that, or an API that lists branches sorted by head commit date could solve this problem. AFAIK, neither exists and a fresh solution would be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant