uv: slower than poetry on downloading wheels
Comparing poetry install with uv install a poetry exported requirments.txt:
poetrytakes 4m5s, peak network speed is 528 Mibpsuvtakes 4m17s, peak network speed is 229 Mibps (Resolve is fast, only took 1.39s)
Resolved 173 packages in 1.39s
Downloaded 173 packages in 4m 15s
Installed 173 packages in 141ms
It seems that uv does not download wheels in parallel yet, and it’s a bottleneck for some use cases.
uv platform: Ubuntu 22.04 uv version: 0.1.24
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (17 by maintainers)
Closing now that it only takes ~1m11s in my environment using uv 0.1.45.
@messense Here’s the progress output:
https://github.com/astral-sh/uv/assets/34988408/26b288de-d17a-4544-bfa5-c993529e8780
You can see we finish the smaller downloads relatively quickly. We’re really limited by the slowest download here, I’m not sure there’s much we can do better.
I’m on mobile so can’t provide more details, will post more info next week.