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

Repoman takes too long to run #9

Open
p8952 opened this issue Jan 26, 2015 · 4 comments
Open

Repoman takes too long to run #9

p8952 opened this issue Jan 26, 2015 · 4 comments

Comments

@p8952
Copy link
Owner

p8952 commented Jan 26, 2015

Repoman checks for both targets take ~1 minute per package.

@p8952 p8952 added the bug label Jan 26, 2015
@mrueg
Copy link

mrueg commented Feb 11, 2015

You could gain some (not much) performance if you run it on pypy-2.x instead of python

@p8952
Copy link
Owner Author

p8952 commented Feb 13, 2015

@mrueg It looks like gentoo/gentoo-portage-rsync-mirror/pull/14 are using pcheck which runs against the whole portage tree in ~9 minutes (Am I reading that right?!?!)

So that might be the best way.

@p8952
Copy link
Owner Author

p8952 commented Feb 13, 2015

Using repoman with --digest=y rather than calling manifest first also shaves a few seconds off per package. I think I'll do that in the short term then look into pcheck.

repoman manifest && repoman full:

$ time ./repoman.sh 'app-admin r10k 1.1.3 ruby19 ruby20'
real    0m17.961s
user    0m15.890s
sys     0m0.500s

$ time ./repoman.sh 'app-admin r10k 1.1.3 ruby19 ruby20'
real    0m17.293s
user    0m16.120s
sys     0m0.390s

$ time ./repoman.sh 'app-admin r10k 1.1.3 ruby19 ruby20'
real    0m17.249s
user    0m16.050s
sys     0m0.380s

repoman --digest=y full:

$ time ./repoman.sh 'app-admin r10k 1.1.3 ruby19 ruby20'
real    0m15.278s
user    0m14.410s
sys     0m0.370s

$ time ./repoman.sh 'app-admin r10k 1.1.3 ruby19 ruby20'
real    0m15.194s
user    0m14.190s
sys     0m0.520s

$ time ./repoman.sh 'app-admin r10k 1.1.3 ruby19 ruby20'
real    0m15.561s
user    0m14.350s
sys     0m0.330s

@p8952
Copy link
Owner Author

p8952 commented Feb 13, 2015

ff36124

@p8952 p8952 added enhancement and removed bug labels Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants