Backtest / #1105
perf: Speed up complex SpecifierSet filtering by implementing cost based ordering
PASS
No behaviour divergence found by any probe.
Performance · SpecifierSet#filter
No realistic input family measured slower.
Measured in backtest packaging-v2 (same commits, run bt-1105-4c6611, image bw-pair:3124cc07c70a8c7a). The semantic results above are from a later run; perf doesn't use the semantic planner, so it was not re-measured.
- F1
| Family | Inputs | Ratio range | Slope base → head | Verdict |
|---|---|---|---|---|
F1 | SpecifierSet.filter with many versions and a mixed set of specifiers (range, compatible, wildcard equality) under warm prerelease handlingclaimed speedup · plan | 0.51× – 0.90× | 1.05 → 0.96 | faster |
Receipt
| Target | Backend | Image | Run | Audit | Adjudication |
|---|---|---|---|---|---|
packaging.specifiers:SpecifierSet#filter | local Docker | bw-pair:9afc68b04e0ce424 | bt-1105-0987b9 | $0.058 | $0.000 |
Nemotron cost on Nebius Token Factory. Backend: where the untrusted code ran. local Docker (an image cited by its content-addressed tag). Every image is content-addressed (repo at each commit + harness), so every card re-runs from the image and seed 0. Raw data: audit.