uv
5aba1bde - Avoid parsing JSON manifest when local Python is available (#19398)

Commit
199 days ago
Avoid parsing JSON manifest when local Python is available (#19398) ## Summary Right now, it appears that we parse the JSON manifest for ~every lock and sync (I _think_ this regressed in b9826778b). By avoiding that work, this PR improves (warm) `uv lock` from 38.94ms to 24.06ms (38.2% faster!), and (warm) `uv sync` from 146.96ms to 129.80ms. Note that we _do_ need to read it if you're using a pre-release, since we have this dedicated pre-release warning. Closes https://github.com/astral-sh/uv/issues/19397.
Author
Parents
Loading