uv pip compile
perf regression in 0.2.6
#4040
Labels
great writeup
A wonderful example of a quality contribution 💜
performance
Potential performance improvement
There's a significant performance regression in
uv 0.2.6
for projects that rely on setuptools_scm.MRE
Benchmarks from an Ubuntu machine (I am able to reproduce this on MacOS too):
uv 0.2.6
❯ uv --version uv 0.2.6 ❯ hyperfine 'uv pip compile pyproject.toml' Benchmark 1: uv pip compile pyproject.toml Time (mean ± σ): 604.1 ms ± 5.2 ms [User: 515.1 ms, System: 96.1 ms] Range (min … max): 596.4 ms … 611.8 ms 10 runs
uv 0.2.5
❯ uv --version uv 0.2.5 ❯ hyperfine 'uv pip compile pyproject.toml' Benchmark 1: uv pip compile pyproject.toml Time (mean ± σ): 58.2 ms ± 1.3 ms [User: 41.6 ms, System: 23.7 ms] Range (min … max): 55.1 ms … 61.0 ms 50 runs
The text was updated successfully, but these errors were encountered: