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

Investigate on latency #23

Open
nicokosi opened this issue Jan 2, 2020 · 0 comments
Open

Investigate on latency #23

nicokosi opened this issue Jan 2, 2020 · 0 comments

Comments

@nicokosi
Copy link
Owner

nicokosi commented Jan 2, 2020

Investigate if latency can be enhanced.

For instance, the following command took 6 seconds on my machine:

$ time hubstats -o vidal-community -r atom-jaxb
pull requests for vidal-community/atom-jaxb ->
	since 2019-12-26T18:04:13Z
		0 opened / 0 closed / 0 commented (0 comments)
 		opened per author:  {}
 		comments per author:  {}
 		closed per author:  {}
hubstats -o vidal-community -r atom-jaxb  4.90s user 0.32s system 86% cpu 6.052 total

Using pullpitoK, the equivalent command takes 1 second on my machine:

$ time pullpitoK vidal-community/atom-jaxb
pull requests for "vidal-community/atom-jaxb" ->
            opened per author
		amairi: 1
            commented per author
		AElMehdiVidal: 1
		jcgay: 1
            closed per author

Note that the output is different because hubstats retrieves changes for last 7 days (--since-weeks has a default value of 1). 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant