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

Commits on Sep 9, 2022

  1. fix: performance regression when parsing links from legacy repositori…

    …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 <jmo@jmo.name>
    Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
    3 people committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    3ec9877 View commit details
    Browse the repository at this point in the history