-
Notifications
You must be signed in to change notification settings - Fork 3k
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
New resolver: performance issue when updating virtualenv with pinned requirements #8675
Comments
i also see huge performance degradation compared to old resolver ( here is an example of creating a fairly involved mailman3 suite
(mentioning #8664 so it shows up there as well)
|
Would you be able to provide the complete output of the corresponding |
Closing in favour of #8664 so we can better keep discussions in one place. |
Output with 20.2.4:
|
Environment
Description
A common use case for application developers is updating an existing virtualenv with a list of pinned requirements (
pip install -r requirements.txt -e .
whererequirements.txt
is a list ofname==version
, as emitted bypip freeze
).The new resolver is about 10 to 20 times slower than the legacy resolver in that use case. With large
requirements.txt
(100 or more lines) the performance drop can become crippling (I have an example that goes from 15 seconds to 4.5 minutes).Expected behavior
A smaller performance impact of the new resolver.
How to Reproduce
Run the following script (at least twice to warm up the cache).
test.sh
Output
The text was updated successfully, but these errors were encountered: