mirror of https://github.com/astral-sh/uv
I previously add `spawn_blocking` to the version map construction as it had become a bottleneck (https://github.com/astral-sh/uv/pull/1163/files#diff-704ceeaedada99f90369eac535713ec82e19550bff166cd44745d7277ecae527R116). With the zero copy deserialization, this has become so fast we don't need to move it to the thread pool anymore. I've also checked `DataWithCachePolicy` but it seems to still take a significant amount of time. Span visualization: Resolving jupyter warm:  Resolving jupyter cold:   I've also updated the instrumentation a little. We don't seem cpu bound for the cold cache (top) and refresh case (bottom) from jupyter:   |
||
|---|---|---|
| .. | ||
| pubgrub | ||
| resolver | ||
| candidate_selector.rs | ||
| constraints.rs | ||
| dependency_mode.rs | ||
| editables.rs | ||
| error.rs | ||
| finder.rs | ||
| lib.rs | ||
| manifest.rs | ||
| options.rs | ||
| overrides.rs | ||
| pins.rs | ||
| prerelease_mode.rs | ||
| python_requirement.rs | ||
| resolution.rs | ||
| resolution_mode.rs | ||
| version_map.rs | ||
| yanks.rs | ||