~/talk

Peeking under the hood of uv run

Talkat PyCon US 2026 · 2026-05-13..05-19· [python]
links:none on file
slides:none on file

uv run claims sub-4s cold startup but actually measures ~50ms discovery, 750ms locking and 3s syncing dropping to ~10ms hot; it uses Rust, an on-disk cache, and packed formats like archive and message pack for zero-copy reads; resolution prefetching runs on two threads and avoids I/O stalls; wheels are downloaded, validated, unpacked and ref link or hardlinked into venvs to save time and disk; universal resolution forks per marker and version parsing scales to hundreds of thousands of comparisons.

AI-written summary · about

  1. 0:00uv run and package management
  2. 2:58Cold operations feel slow
  3. 4:25Discovery phase breakdown
  4. 8:16Python version discovery
  5. 11:07Locking and dependency resolution
  6. 14:37Caching package metadata
  7. 17:49Special dependency sources
  8. 21:19Version parsing optimizations
  9. 24:08Syncing and environment construction
  10. 27:40Building source distributions
  11. 30:29Installing packages
  12. 32:17Running the application
  13. 32:39Performance strategies
  14. 35:48Future work and challenges
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.