You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
userRepos() and repos() are very similar. The only difference is that repos() retrieves the repositories of the authenticated user while userRepos() retrieves the repositories of the username provided. The reason for the difference in performance is that userRepos() was doing the right thing while repos() wasn't. To be precise, userRepos() was retrieving all the repositories of the test user that we employ for our tests. repos() was only retrieving the first page (e.g. the first 100 repositories).
The issue with repos() has been fixed in commit adcfbdd.
In addition to that, userRepos() has the problem that it didn't allow a user to specify the same options that we support in repos(). This has been fixed in commit 2373a36.
The former is awful for performance; it seems like they're roughly the same thing.
The text was updated successfully, but these errors were encountered: