Skip to content

significant more API calls for same code #286

@aspyker

Description

@aspyker

I'm researching deeper, but with 1.72 I get:

remaining calls 4364
about to look up repo EVCache
2016-06-28 21:28:20 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314
2016-06-28 21:28:20 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0
2016-06-28 21:28:22 DEBUG GithubAccess:107 - daysSinceLastCommit = 0
2016-06-28 21:28:23 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)
2016-06-28 21:28:24 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days
2016-06-28 21:28:24 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days
2016-06-28 21:28:24 DEBUG GithubAccess:96 - repo json = {"asOfISO":"2016-06-29T04:27:43Z","asOfYYYYMMDD":"2016-06-29","repo_name":"EVCache","public":true,"osslifecycle":"UNKNOWN","forks":82,"stars":314,"numContributors":16,"issues":{"openCount":0,"closedCount":14,"avgTimeToCloseInDays":357},"pullRequests":{"openCount":0,"closedCount":13,"avgTimeToCloseInDays":185},"commits":{"daysSinceLastCommit":0},"contributors":["smadappa","senugula","jkschneider","vuzilla","ScottMansfield","rspieldenner","elandau","gitter-badger","rdegnan","nadavc","aspyker","trigan-d","pauloricardomg","kedargsm","quidryan","Randgalt"]}
remaining calls 4341

resulting in 23 API calls

with 1.76, I get:

remaining calls 4640
about to look up repo EVCache
2016-06-28 21:22:22 INFO GithubAccess:53 - repo = EVCache, forks = 82, stars = 314
2016-06-28 21:22:22 DEBUG GithubAccess:56 - openIssues = 0, openPullRequests = 0
2016-06-28 21:23:01 DEBUG GithubAccess:107 - daysSinceLastCommit = 0
2016-06-28 21:23:03 DEBUG GithubAccess:111 - numContribitors = 16, contributorEmails = ArrayBuffer(smadappa, senugula, jkschneider, vuzilla, ScottMansfield, rspieldenner, elandau, gitter-badger, rdegnan, nadavc, aspyker, trigan-d, pauloricardomg, kedargsm, quidryan, Randgalt)
2016-06-28 21:23:04 DEBUG GithubAccess:146 - avg days to close 14 issues = 357 days
2016-06-28 21:23:04 DEBUG GithubAccess:128 - avg days to close 13 pull requests = 185 days
2016-06-28 21:23:04 DEBUG GithubAccess:96 - repo json = {"asOfISO":"2016-06-29T04:20:26Z","asOfYYYYMMDD":"2016-06-29","repo_name":"EVCache","public":true,"osslifecycle":"UNKNOWN","forks":82,"stars":314,"numContributors":16,"issues":{"openCount":0,"closedCount":14,"avgTimeToCloseInDays":357},"pullRequests":{"openCount":0,"closedCount":13,"avgTimeToCloseInDays":185},"commits":{"daysSinceLastCommit":0},"contributors":["smadappa","senugula","jkschneider","vuzilla","ScottMansfield","rspieldenner","elandau","gitter-badger","rdegnan","nadavc","aspyker","trigan-d","pauloricardomg","kedargsm","quidryan","Randgalt"]}
remaining calls 4409

resulting in 231 API calls

This is running this code:

https://github.com/Netflix/osstracker/blob/master/osstracker-scraper/src/main/scala/com/netflix/oss/tools/osstrackerscraper/GithubAccess.scala#L52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions