You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lucidfrontier45
changed the title
PDM is significantly slower compared to Poetry for installing dependency libraries.
PDM is significantly slower than Poetry for installing dependency libraries.
Apr 11, 2024
I already noticed the same thing while experimenting. A ran a quick test with the PEP 621 branch of Poetry on our biggest project with 185 final dependencies (meaning, present in the lock file): with lock file already generated, 2m37 install time of PDM and... 8 seconds for Poetry. Lock time is also faster: without cache, 2m37 for PDM, 40s for Poetry. With cache, 1m25 for PDM, 22s for Poetry.
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
pdm install --no-self
pdm sync --no-self
poetry install --no-root
poetry install --sync --no-self
pyproject.toml for PDM
pyproject.toml for Poetry
Actual behavior
Expected behavior
PDM cases take as long as equivalent Poetry cases.
Environment Information
The text was updated successfully, but these errors were encountered: