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

[1.2] fix: performance regression when parsing links from legacy repositories #6463

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

radoering
Copy link
Member

Backport of #6442

…es (python-poetry#6442)

Resolves: python-poetry#6436

Measurements of `poetry lock` with warm cache with example
pyproject.toml from python-poetry#6436:

|test case|time in s|peak memory usage in MB|
|---|---|---|
|legacy repository (before)|422|113|
|legacy repository (after)|3|118|
|pypi repository|1|92|

`backports.cached-property` is used in order to support
cached_property on Python 3.7.

(cherry picked from commit c4b2253)

Co-authored-by: Jarrod Moore <[email protected]>
Co-authored-by: Bjorn Neergaard <[email protected]>
@radoering radoering force-pushed the bp/legacy-repo-performance branch from 61877fa to 3ec9877 Compare September 9, 2022 15:43
@neersighted neersighted enabled auto-merge (squash) September 10, 2022 07:41
@neersighted neersighted enabled auto-merge (rebase) September 10, 2022 07:41
@neersighted neersighted merged commit 015a693 into python-poetry:1.2 Sep 10, 2022
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
@radoering radoering deleted the bp/legacy-repo-performance branch November 24, 2024 12:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants