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

[bug] conan create lock is orders of magnitude faster with --build="*" #16256

Open
rconde01 opened this issue May 14, 2024 · 1 comment
Open

Comments

@rconde01
Copy link

Describe the bug

I'm not sure if this is a bug per se, but it was surprising and is probably at least a documentation issue. Using Conan 2.3, I was working on my update to conan 2.0 and conan lock create was taking a couple seconds for each combination, and I have 5-platforms7-conan-files2-configs...taking a total of ~330 seconds. Adding --build="*" sped it up to ~30 seconds. The additional time appears to be in "Computing necessary packages". It's unclear to me why locking cares what packages are in the remote?

How to reproduce it

No response

@memsharded
Copy link
Member

memsharded commented May 14, 2024

Hi @rconde01

Thanks for your report.
I think this might be expected for cases where there are a ton of tool_requires, that are not really installed locally in the current cache.

Can you please report a bit more about the problem, for example, how many dependencies are in each configuration, I guess that is assuming a blank cache and things are being downloaded, or even when the cache is populated?

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