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

"opam update foo" is unreasonably slow #2548

Closed
mshinwell opened this issue May 10, 2016 · 1 comment
Closed

"opam update foo" is unreasonably slow #2548

mshinwell opened this issue May 10, 2016 · 1 comment

Comments

@mshinwell
Copy link

I think it took more than a minute on a fast machine for "opam update foo" to run on my personal opam-repo-dev, which is tiny, and contains only a few compiler descriptions. The slowness can waste time when trying to get compiler descriptions correct.

@AltGr
Copy link
Member

AltGr commented May 11, 2016

Thanks for reporting. This is due to #2534 : after doing the actual update, opam simulates an update just to show some statistics on changes and this actually what takes (wastes) time. We could easily add an option or even disable this by default, but the priority is to actually fix #2534

In the meantime, you can safely press C-c once the [repo] synchronised from xxx is printed if you can't wait. Time before that should really only be used by the download.

AltGr added a commit to OCamlPro/opam that referenced this issue May 17, 2016
This resolves for the most part the solving delay issues for
2.0~alpha (ocaml#2534, ocaml#2548), but needs more testing
@AltGr AltGr closed this as completed Dec 21, 2016
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

2 participants