Skip to content
Unverified Commit c4b22537 authored by Randy Döring's avatar Randy Döring Committed by GitHub
Browse files

fix: performance regression when parsing links from legacy repositories (#6442)



Resolves: #6436

Measurements of `poetry lock` with warm cache with example
pyproject.toml from #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. 

Co-authored-by: default avatarJarrod Moore <jmo@jmo.name>
Co-authored-by: default avatarBjorn Neergaard <bjorn@neersighted.com>
parent 692bdaa9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment