Repository navigation
Conversation
This was referenced Sep 18, 2026
This was referenced Sep 30, 2026
astral-automations-bot
Bot
force-pushed
the
zb/reuse-resolver-node-index
branch
from
October 16, 2026 01:03
5224218 to
bf16a94
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolution graph construction maintains a separate seen set even though the inverse node index uses the same package and version identity. Use the existing index to detect nodes already added, removing the duplicate hash table while retaining first-fork selection and edge deduplication.
Measurements of an earlier pinned revision. Hyperfine 2.0.0 measurements of cc6880fd2 → 52242184f used release builds of the complete CLI with
rustc 1.99.0 (b940084d7 2026-09-28)on an AMD EPYC-Genoa Linux VM, pinned to four CPUs. Output went to/dev/null. The supplied interpreter was CPython 3.12.13. The PR head at report preparation wasbf16a9487; the measured head was52242184f.uv pip compileanduv lockuse--offline,--no-indexand local--find-linkswheels; the retained-extra case uses--no-strip-extras. Completeuv pip compilecommands resolve synthetic local wheels with 1 to 2,048 independent requirements or 128 to 2,048 leaves under one hub. Two 512-leaf hub cases request four extras, with extra names either stripped or retained in output. The leaf count excludes the hub.Fresh
uv lockcontrols use 8 or 32sys_platformconditions, distinct selector versions and 32 or 128 shared leaves. The conditions include synthetic platform names. Leaf counts exclude the selector and project root. These whole commands include input parsing, metadata lookup, resolution, graph construction and output. Locks are removed outside measurement. Per-revisionuvcaches persist, and local wheel metadata, interpreter queries and OS pages are warm. Inputs are local; no network, source build or installation is used.Values are means, parent → head. Changes are
(head / parent - 1)with 95% confidence intervals; negative values indicate a reduction.Each workload used ten comparison blocks with alternating revision order, one warmup followed by three measured runs per revision in each block (30 measurements per revision). The pointwise 95% percentile-bootstrap intervals use 20,000 resamples of paired block means and retain all samples. They estimate within-run uncertainty, not variation across machines, independent builds, or separate benchmark campaigns.
The lock workload with eight platform conditions and 32 shared leaves took 2.26% less time, with a 95% interval of -4.07% to -0.57%. The other 11 runtime intervals and all 12 peak RSS intervals include zero, so their results are inconclusive. These whole-command measurements do not isolate node-index lookup. RSS is Hyperfine's Linux
wait4peak, not an allocation count or summed simultaneous process-tree memory.