DEV Community

TildAlice
TildAlice

Posted on • Originally published at tildalice.io

uv vs pip vs Poetry: Install Speed Test on 50+ Packages

The Setup That Revealed the Gap

I needed to set up a Python project on three different machines in one morning — my laptop, a CI runner, and a fresh cloud VM. Same requirements.txt, same Python 3.11, wildly different install times. On the VM, pip install took 4 minutes 32 seconds. With uv, the same dependencies installed in 18 seconds.

That's not a typo. The 15x speedup made me question whether I'd been doing dependency management wrong for years.

This post walks through what actually happens when you run pip install, why Poetry adds overhead, and why uv — a Rust-based installer released in 2023 — is changing the game for beginners who just want their code to run without waiting.

Unrecognizable female covering painted face with hands covered with colorful pigment in dark studio with neon illumination

Photo by Lucas Pezeta on Pexels

What pip Does Under the Hood (And Why It's Slow)

When you run pip install requests, here's the actual sequence:

  1. Resolve dependency graph (requests → urllib3, charset-normalizer, certifi, idna)
  2. Download .whl files from PyPI for each package
  3. Extract wheels (which are just ZIP files)

Continue reading the full article on TildAlice

Top comments (0)