Closed
Description
Hello there,
I have been looking forward to improved package management for python, and am excited by the uv announcement. I have also been following with interest the developments made by the prefix team in pixi and rip.
Benchmarking uv with rip seems to show, anecdotally, that rip is as fast or faster than uv (I may be doing this completely wrong though):
❯ hyperfine --warmup 3 'cargo r install dagster /tmp/ripenv' 'source /tmp/uvenv/bin/activate;uv pip install --reinstall dagster --no-cache'
Benchmark 1: cargo r install dagster /tmp/ripenv
Time (mean ± σ): 6.959 s ± 0.236 s [User: 9.346 s, System: 0.370 s]
Range (min … max): 6.643 s … 7.335 s 10 runs
Benchmark 2: source /tmp/uvenv/bin/activate;uv pip install --reinstall dagster --no-cache
Time (mean ± σ): 7.829 s ± 0.819 s [User: 0.808 s, System: 1.080 s]
Range (min … max): 6.183 s … 8.809 s 10 runs
Summary
cargo r install dagster /tmp/ripenv ran
1.13 ± 0.12 times faster than source /tmp/uvenv/bin/activate;uv pip install --reinstall dagster --no-cache
Pixi and uv seem to have very similar goals (albeit pixi ambitions to cater to other languages than python).
I am wondering about the opportunities to share, at least, (some) underlying libraries to achieve these goals faster.