mirror of https://github.com/astral-sh/uv
Looks like the set based prioritize tracking from https://github.com/pubgrub-rs/pubgrub/pull/313 is a slight speedup. I assume the changed derivation tree in the error snapshot is due to out-of-sync virtual package priorities, while the main package priority defining the solution remains stable. ``` $ hyperfine --warmup 2 "./uv-main pip compile --no-progress scripts/requirements/airflow.in --universal" "./uv-branch pip compile --no-progress scripts/requirements/airflow.in --universal" Benchmark 1: ./uv-main pip compile --no-progress scripts/requirements/airflow.in --universal Time (mean ± σ): 115.0 ms ± 4.8 ms [User: 131.0 ms, System: 113.6 ms] Range (min … max): 108.1 ms … 125.8 ms 25 runs Benchmark 2: ./uv-branch pip compile --no-progress scripts/requirements/airflow.in --universal Time (mean ± σ): 105.4 ms ± 2.6 ms [User: 118.5 ms, System: 113.5 ms] Range (min … max): 101.1 ms … 111.9 ms 28 runs Summary ./uv-branch pip compile --no-progress scripts/requirements/airflow.in --universal ran 1.09 ± 0.05 times faster than ./uv-main pip compile --no-progress scripts/requirements/airflow.in --universal ``` |
||
|---|---|---|
| .. | ||
| lock | ||
| pubgrub | ||
| resolution | ||
| resolver | ||
| candidate_selector.rs | ||
| dependency_mode.rs | ||
| dependency_provider.rs | ||
| error.rs | ||
| exclude_newer.rs | ||
| exclusions.rs | ||
| flat_index.rs | ||
| fork_indexes.rs | ||
| fork_strategy.rs | ||
| fork_urls.rs | ||
| graph_ops.rs | ||
| lib.rs | ||
| manifest.rs | ||
| marker.rs | ||
| options.rs | ||
| pins.rs | ||
| preferences.rs | ||
| prerelease.rs | ||
| python_requirement.rs | ||
| redirect.rs | ||
| requires_python.rs | ||
| resolution_mode.rs | ||
| universal_marker.rs | ||
| version_map.rs | ||
| yanks.rs | ||